Skip to content

List orders

GET/admin/v1/stores/{store_id}/orders
  • orders:read

List orders, newest first, with filters and cursor pagination.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • qstring

    Order number, email, phone or shipping name.

  • statusstring

    Any of these statuses, comma-separated: open, closed, cancelled.

  • financial_statusstring

    Comma-separated financial statuses, e.g. pending,authorized.

  • fulfillment_statusstring

    Comma-separated fulfillment statuses, e.g. unfulfilled,partial.

  • customer_idstring

    An ID like cus_01k8qs5s….

  • payment_methodstring

    Comma-separated payment methods, e.g. cash_on_delivery,mada.

  • delivery_methodstring

    Any of these delivery options, by their titles at checkout, comma-separated; quote a title that has a comma ("Riyadh, same day",Aramex Express).

  • citystring

    Any of these shipping cities, whatever their case, comma-separated (quoted like delivery_method).

  • placed_fromstring

    Placed on or after this store-local day, YYYY-MM-DD.

  • placed_tostring

    Placed on or before this store-local day, YYYY-MM-DD.

  • deliver_fromstring

    To deliver (or collect) on or after this day, YYYY-MM-DD.

  • deliver_tostring

    To deliver (or collect) on or before this day, YYYY-MM-DD.

  • on_holdboolean

    true: only orders on hold. false: only those that aren't.

  • delivery_stageenum

    Where the latest parcel is.

    • ready_to_ship
    • with_courier
    • delivered
    • returned
  • delivered_onstring

    Delivered on this store-local day, YYYY-MM-DD.

  • sourcestring

    Comma-separated sales channels: pos (in the shops), online_store, storefront, admin, api. Online sales are online_store,storefront.

  • tagstring

    Comma-separated tags: orders carrying any of them, whatever their case.

  • custom_statusstring

    Comma-separated IDs of the store's statuses: orders in any of them.

  • confirmation_statusstring

    Comma-separated confirmation states: pending, confirmed, declined, expired.

  • awaiting_confirmationboolean

    true: only orders waiting for their customer's confirmation; false: only the others, which can be packed.

  • preorderboolean

    true: only orders with a line sold as a pre-order; false: only the others.

  • assigneestring

    Whose orders: me, anyone, none or a staff member's ID.

  • receipt_to_reviewboolean

    true: only orders with a transfer receipt waiting for review.

  • location_idstring

    Only orders whose stock this branch sends.

  • sortenum

    newest (default) or oldest first, or by total: total_desc, total_asc.

    • newest
    • oldest
    • total_desc
    • total_asc
  • limitinteger

    1–250, default 50.

  • cursorstring

    page.next_cursor from the previous page.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 A page of orders.

Errors

  • 400bad_requestMalformed query or cursor.
  • 403forbiddenMissing permission.
  • 422validation_failedInvalid filter.