Orders
Retrieve order information including items, fulfillment orders, and shop data.List Orders
integer
default:"0"
Page number (0-indexed)
integer
default:"50"
Number of orders per page
integer
Filter orders created at or after this Unix timestamp
integer
Filter orders created at or before this Unix timestamp
integer
Filter orders updated at or after this Unix timestamp
integer
Filter orders updated at or before this Unix timestamp
string
Filter by the shop’s identifier (the string you configured when the shop
was set up). Only orders whose linked shop belongs to your organisation
and has this identifier are returned.
string
Filter by the external order id assigned by the shop or e-commerce
platform (for example, the Shopify order number). Combine with
shop_identifier to look up a specific shop order.string
Free-text search across the Shopify order name, the pharmacy order name
(e.g.
PO-XXXX-XXXX-XXXX), and the patient’s full name. The same value
is also matched as an exact UID against the order, its prescriptions,
and its pharmacy orders, so you can paste an identifier directly. A
leading # is stripped before the UID lookup so values copied from the
admin interface (e.g. #ord_…) resolve as expected.order:read
Example Request
Look Up a Specific Shop Order
Combineshop_identifier and shop_order_external_id to fetch the single
order that matches both. The response shape is unchanged (a paginated
list), but the result contains at most one order.
Response
Response Fields
Get Order Details
string
required
The order UID
order:read
Returns the same structure as a single entry in the list response.
Example Request
Prescription Data
Prescription data is only included when your API key also has theprescription:read permission. Without it:
- The
prescriptionsarray is returned as[] - The
prescription_uidfield is removed from order items
If you need prescription details, ensure your API key has both
order:read and prescription:read permissions. Contact your RxScale account manager to adjust permissions.