Skip to main content

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.
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.
Required permission: order:read

Example Request

Look Up a Specific Shop Order

Combine shop_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
Required permission: 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 the prescription:read permission. Without it:
  • The prescriptions array is returned as []
  • The prescription_uid field 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.