OrderUpdateInput
InputInput for updating an order
Fields
- AddressInput
billingAddress An optional billing address for the order
- String
externalReference An optional external reference for the order
- ID!
id The ID of the order to be updated
- [KeyValuePairOfStringAndStringInput!]
metadata Optional key/value metadata for the order. If null is explicitly provided, metadata will be cleared.
- [OrderMetafieldInput!]
metafields The metafield values to add or update on the order. Existing metafields not included in the list are preserved. When explicitly specified as null, all assigned order metafields are removed.
- OrderState
orderState The new state of the order
Possible enum valuesCANCELLEDThe order was cancelled before completion.
COMPLETEProcessing of the order has been completed.
CONFIRMEDThe order has been accepted for processing.
OPENThe order has been created and can still be processed.
- ShipmentState
shipmentState The new shipment state of the order
Possible enum valuesCANCELLEDThe order's shipment was cancelled.
DELIVEREDThe order's shipment has reached its destination.
PENDINGNo shipment is ready to leave yet.
READYAt least one shipment is prepared and waiting to be sent.
SHIPPEDThe order's shipment has been handed over for delivery.
- AddressInput
shippingAddress An optional shipping address for the order