For the complete documentation index, see llms.txt. This page is also available as Markdown.

updateOrder

Updates Order attributes. Only status, fulfilledAt timestamp, and trackingCode are allowed to be updated. Fulfillment process will not be triggered.

Arguments

Argument
Description

Parameters for UpdateOrder

UpdateOrderInput Arguments

Argument
Description

metadata (JSON)

Metadata that can be used by developers to store additional information on objects.

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

order (Order)

Last updated

Was this helpful?