> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a single order by ID

> Order details

### Path parameters

**tenant\_id** `string` *required*

Tenant identifier

**order\_id** `string (uuid)` *required*

Order UUID

### Response

`object`

**id** `string (uuid)` *required*

Unique StateSet order ID

**shopifyOrderId** `string` *required*

Shopify order ID

**orderNumber** `string` *required*

Order number

**status** `string` *required*

Order status

**lineItems** `object[]` *required*

Order line items

**lineItems**

**title** `string` *required*

Product title

**quantity** `number` *required*

Quantity ordered

**price** `number` *required*

Unit price

**sku** `string`

Product SKU

**variantId** `string`

Variant ID from Shopify

**shopifyLineItemId** `string`

Shopify line item ID

**createdAt** `string (date-time)` *required*

Order creation timestamp

**updatedAt** `string (date-time)` *required*

Last update timestamp

**tags** `string[]` *required*

Order tags

**locationId** `string`

Location ID for fulfillment

**netsuiteId** `string`

NetSuite order ID if synced

**netsuiteTranId** `string`

NetSuite transaction ID if available

**netsuiteSyncedAt** `string (date-time)`

When this order was synced to NetSuite

**netsuiteLastError** `string`

Last NetSuite sync error

**netsuiteLastAttemptAt** `string (date-time)`

Last NetSuite sync attempt time

**fulfillmentStatus** `string`

Fulfillment status

**tracking** `object`

Tracking information for an order

**tracking**

**trackingNumber** `string`

Tracking number

**carrier** `string`

Carrier name

**trackingUrl** `string`

Tracking URL

**estimatedDelivery** `string`

Estimated delivery date

**dclSubmittedAt** `string (date-time)`

When this order was submitted to DCL

**dclLastError** `string`

Last DCL submission error

**dclLastAttemptAt** `string (date-time)`

Last DCL submission attempt time

**dclLocation** `string`

DCL location used during submission

**luminousOrderId** `string`

Luminous order ID if synced

**luminousSyncedAt** `string (date-time)`

When this order was synced to Luminous

**luminousLastError** `string`

Last Luminous sync error

**luminousLastAttemptAt** `string (date-time)`

Last Luminous sync attempt time

**capacitySubmittedAt** `string (date-time)`

When this order was submitted to Capacity

**capacityLastError** `string`

Last Capacity submission/cancel error

**capacityLastAttemptAt** `string (date-time)`

Last Capacity operation attempt time

**latestMovement** `object`

Summary of the latest movement event for an order

**latestMovement**

**eventType** `string` *required*

Stable event type

**stage** `string` *required*

Current stage within the engine

**source** `string` *required*

Source system for the latest movement

**status** `string`

Optional normalized status

**summary** `string` *required*

Human-readable summary for operators

**occurredAt** `string (date-time)` *required*

Timestamp for the latest movement

### Status codes

| Code | Meaning |
| - | - |
| `200` | Order details |
| `401` | Unauthorized |
| `404` | Order not found |

```bash cURL theme={null}
curl --request GET \
  --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/orders/{order_id}' \
  --header "x-stateset-api-key: $STATESET_SYNC_API_KEY"
```

```json 200 theme={null}
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "shopifyOrderId": "string",
  "orderNumber": "ORD-10042",
  "status": "pending",
  "lineItems": [
    {
      "title": "Replacement tent pole set",
      "quantity": 2,
      "price": 49,
      "sku": "SKU-TENT-2P-GRN",
      "variantId": "string",
      "shopifyLineItemId": "string"
    }
  ],
  "createdAt": "2026-08-31T14:22:05Z",
  "updatedAt": "2026-08-31T14:22:05Z",
  "tags": [
    "priority"
  ],
  "locationId": "string",
  "netsuiteId": "string",
  "netsuiteTranId": "string",
  "netsuiteSyncedAt": "2026-08-31T14:22:05Z",
  "netsuiteLastError": "string",
  "netsuiteLastAttemptAt": "2026-08-31T14:22:05Z",
  "fulfillmentStatus": "string",
  "tracking": {
    "trackingNumber": "1Z999AA10123456784",
    "carrier": "UPS",
    "trackingUrl": "string",
    "estimatedDelivery": "string"
  },
  "dclSubmittedAt": "2026-08-31T14:22:05Z",
  "dclLastError": "string",
  "dclLastAttemptAt": "2026-08-31T14:22:05Z",
  "dclLocation": "string",
  "luminousOrderId": "string",
  "luminousSyncedAt": "2026-08-31T14:22:05Z",
  "luminousLastError": "string",
  "luminousLastAttemptAt": "2026-08-31T14:22:05Z",
  "capacitySubmittedAt": "2026-08-31T14:22:05Z",
  "capacityLastError": "San Francisco",
  "capacityLastAttemptAt": "2026-08-31T14:22:05Z",
  "latestMovement": {
    "eventType": "string",
    "stage": "string",
    "source": "string",
    "status": "pending",
    "summary": "Two-person tent, green — replacement for damaged pole set.",
    "occurredAt": "2026-08-31T14:22:05Z"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.