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 theorder_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.