Skip to main content
GET
/
v3
/
orders
List orders - v3
curl --request GET \
  --url https://api.snappy.com/public-api/v3/orders \
  --header 'X-Api-Key: <api-key>'
{
  "data": [
    {
      "id": "G7nR4bD9mK",
      "createdAt": "2026-05-27T10:30:00.000Z",
      "status": "active",
      "fulfillmentStatus": "unfulfilled",
      "tags": [],
      "cancellationDetails": {
        "cancelledAt": "2026-05-27T15:57:00.000Z",
        "cancellationReason": "customer_requested"
      },
      "lineItems": [
        {
          "variantId": "v_abc12345",
          "quantity": 1,
          "title": "Premium Gift Card"
        }
      ],
      "fulfillments": [
        {
          "fulfillmentLineItems": [
            {
              "variantId": "v_abc12345",
              "quantity": 1,
              "title": "Premium Gift Card"
            }
          ],
          "id": "tr_abc123",
          "status": "inTransit",
          "trackingCompany": "UPS",
          "trackingInfo": {
            "number": "1Z9999W99999999999",
            "url": "https://www.ups.com/track?tracknum=1Z9999W99999999999"
          }
        }
      ],
      "recipient": {
        "firstName": "John",
        "lastName": "Doe",
        "email": "john.doe@example.com",
        "phone": "+15555555555"
      },
      "shippingAddress": {
        "address1": "123 Main St",
        "address2": "Suite A",
        "city": "New York",
        "provinceCode": "NY",
        "countryCode": "US",
        "postalCode": "10001"
      },
      "metadata": {
        "key1": "value1",
        "key2": "value2"
      },
      "idempotencyKey": "order-2026-05-13-abc"
    }
  ],
  "links": {
    "first": "/v3/products/655277e68e0719000d6c3fd5/variants?page[size]=100&page[number]=1",
    "next": "/v3/products/655277e68e0719000d6c3fd5/variants?page[size]=100&page[number]=2",
    "prev": null
  }
}

Authorizations

X-Api-Key
string
header
required

Company Level Authentication

Include your API key in the X-Api-Key header for every request:

X-Api-Key: YOUR_API_KEY

Headers

snappy-account-id
string

Optional account identifier for swag validation/filtering.

Example:

"acc123456"

snappy-company-id
string

Optional company identifier for swag validation/filtering.

Example:

"cmp123456"

Query Parameters

page[number]
integer
default:1

Page number, starting at 1. Defaults to 1 when omitted.

Required range: x >= 1
Example:

1

page[size]
integer
default:100

Page size. Must be between 1 and 300. Defaults to 100 when omitted.

Required range: 1 <= x <= 300
Example:

100

sort
enum<string>
default:-createdAt

Sort order. -createdAt (default) returns newest first; createdAt returns oldest first.

Available options:
createdAt,
-createdAt
Example:

"-createdAt"

filter[status]
enum<string>

Filter by order status.

Available options:
active,
cancelled
Example:

"active"

filter[idempotencyKey]
string[]

Comma-separated list of idempotency keys. Returns orders matching any of the supplied keys.

Minimum array length: 1
Minimum string length: 1
Example:
["idem-abc", "idem-def"]
filter[createdAt]
object

Filter by order creation timestamp. Accepts full ISO timestamps via filter[createdAt][gte] and filter[createdAt][lte].

Response

Page of orders plus pagination links.

JSON:API list envelope. Returns the page of orders plus pagination links.

data
object[]
required

Orders matching the query, ordered per sort.

Top-level JSON:API-style pagination links for paginated list responses. first, next, and prev are all required and all nullable. prev is null on cursor-paginated endpoints (backward navigation not supported).

Last modified on June 17, 2026