Appearance
BulkUpdateOrderStatusesPayload
Type: Object
Result of a bulk order status update. Partial success is expected: unknown ids are reported in failedOrderIds and errors while the orders that were found are still committed together.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| errors | [FieldError!]! | Field-level errors: one entry on orderIds per id that was not found, or a single orderIds entry when the batch was empty or larger than 100. A non-empty errors list alongside a non-empty updatedOrders is the normal partial-success shape. | ||
| failedOrderIds | [OrderID!] | Requested ids that matched no order in the caller's tenant, as OrderID TypeIDs. These are skipped — the remaining orders are still updated. Null (not an empty list) when every id resolved, and null when validation rejected the request outright. | ||
| updatedOrders | [OrderState!] | The orders that were found and updated, in their new state. Written in a single transaction, so this batch is all-or-nothing: if any save fails the mutation errors out and no order is changed. Null when input validation rejected the request before any write. |