Skip to main content
An Order is a mutable, in-progress purchase record. It represents a sale that has not yet been finalised, for example, an eCommerce cart checkout in progress, a layby, or a pending POS sale.

Orders vs transactions

When an order is fulfilled and payment is complete, create a Transaction. A single Order may result in zero, one, or many Transactions (e.g., a partial fulfilment, a split shipment).

Creating an order

Reading an order

Updating an order

Orders can be updated as the purchase progresses, for example, when items are added or removed, or the status changes:

Completing an order

When the order is fulfilled and payment is confirmed, create a Transaction referencing the order. Provide the order_id field in the transaction payload to link them:

Deleting an order

Content needed: order status enum values, full field reference, and relationship to Shopify checkout in the Shopify extension context.