Skip to Content
StarsellDocs
API referenceOrders

List orders

GET
/stores/{storeId}/orders

List orders, newest first.

Authorization

storeKey
headerAuthorizationBearer <vtk_...>

A store API and MCP key

Path Parameters

storeId*string

The store id

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
page?integer
Range1 <= value
Default1
status?string
Value in"open""fulfilled""cancelled"
payment_status?string
Value in"paid""pending""partially_refunded""refunded""test"
fulfillment_status?string
Value in"unfulfilled""sent_to_supplier""shipped""delivered""returned"
channel?string
email?string

The customer's email, exact

q?string

Number, name, email or tracking

created_after?string
Formatdate-time
created_before?string
Formatdate-time
updated_after?string
Formatdate-time
sort?string
Value in"created_desc""created_asc""updated_desc""updated_asc"

Response Body

OK

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://starsell.app/api/v1/stores/string/orders'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "number": 0,      "label": "string",      "status": "open",      "payment_status": "paid",      "fulfillment_status": "unfulfilled",      "currency": "string",      "subtotal_minor": 0,      "discount_minor": 0,      "discounts": [        {          "discount_id": "49c104c1-008b-4f4f-abbc-6958059cb48b",          "code": "string",          "title": "string",          "kind": "amount_off_products",          "amount_minor": 0        }      ],      "shipping_minor": 0,      "tax_minor": 0,      "tax_included": true,      "total_minor": 0,      "channel": "string",      "tracking": "string",      "test": true,      "tags": [        "string"      ],      "staff_note": "string",      "archived": true,      "archived_at": "2019-08-24T14:15:22Z",      "customer": {        "email": "string",        "phone": "string",        "name": "string",        "first_name": "string"      },      "shipping_address": {        "line1": "string",        "city": "string",        "zip": "string",        "country": "string"      },      "note": "string",      "items": [        {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",          "variant_id": "8a2d415d-59aa-4132-bef3-011f97c4a0f6",          "title": "string",          "variant_name": "string",          "quantity": 0,          "price_minor": 0,          "discount_minor": 0,          "image_url": "string",          "parts": [            {              "product_id": "string",              "variant_id": "string",              "title": "string",              "variant_name": "string",              "quantity": 0            }          ]        }      ],      "item_count": 0,      "status_url": "string",      "admin_url": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total": 0,    "has_more": true  }}