updateOrder
Updates Order attributes. Only status, fulfilledAt timestamp, and trackingCode are allowed to be updated. Fulfillment process will not be triggered.
Arguments
Argument | Description |
---|---|
input (UpdateOrderInput!) | Parameters for UpdateOrder |
UpdateOrderInput Arguments
Argument | Description |
---|---|
id (ID!) | ID of the order to update. |
status (OrderStatus) | Order status. |
fulfilledAt (String) | The timestamp of when the order was fulfilled. Pass an empty string to clear existing timestamp. |
trackingCode (String) | Tracking code for the order that can be included in an email. Please note: tracking email will not get sent. Use FulfillOrder mutation if you also want to send out tracking email with the new tracking code. |
Return fields
errors ([ModelValidationError!]!)
order (Order)
Last updated