payment_status and fulfillment_status from its payment collections and fulfillments. Payment collections and fulfillments are stripped from the response unless the requested fields include them. Triggered by GET /admin/order-groups/:id and GET /admin/orders/:id/order-group.
Usage
Input
The order group to retrieve; fails if not found.
Fields to retrieve; merged with the defaults needed for status aggregation (
orders.items.*, payment collection and fulfillment timestamps).Result
The order group with its child orders.
Child orders, each with computed
payment_status and fulfillment_status.