Documentation Index
Fetch the complete documentation index at: https://docs.rxscale.com/llms.txt
Use this file to discover all available pages before exploring further.
Orders
Retrieve order information including items, fulfillment orders, and shop data.List Orders
Page number (0-indexed)
Number of orders per page
Filter orders created at or after this Unix timestamp
Filter orders created at or before this Unix timestamp
Filter orders updated at or after this Unix timestamp
Filter orders updated at or before this Unix timestamp
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.
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.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
| Field | Type | Description |
|---|---|---|
orders[].uid | string | Order UID |
orders[].status | string | Order status |
orders[].overall_status | string | Computed overall status |
orders[].created_at | integer | Creation timestamp (Unix) |
orders[].updated_at | integer | Last update timestamp (Unix) |
orders[].shop_order | object | Shop and external order reference |
orders[].items | array | Order items with SKU info |
orders[].items[].sku_display_name | string | SKU display name |
orders[].items[].sku_pzn | string | Pharmazentralnummer |
orders[].items[].amount | integer | Quantity |
orders[].items[].prescription_uid | string | Linked prescription (only with prescription:read) |
orders[].fulfillment_orders | array | Fulfillment orders with status and items |
orders[].prescriptions | array | Prescriptions with doctor info (only with prescription:read) |
totalRegistries | integer | Total number of orders |
totalPages | integer | Total number of pages |
Get Order Details
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.