orderUpdate
Update an order.
Arguments
2 argumentsid•ID!ID of the order.
address•StringStreet / first address line
address2•StringSecond address line
city•StringCity
companyName•StringCompany name (required when no name provided)
countryCode•StringISO code 3166 alpha 2
email•StringEmail address
eori•StringEconomic Operators Registration and Identification number
houseNumber•StringHouse number and addition
name•StringContact person name (required when no company name provided)
oss•StringOne-Stop Shop (OSS) number
phone•StringPhone number
postalCode•StringPostal code
stateCode•StringState code
vat•StringVAT identification number
brandId•IDID of the brand
customerId•IDID of the customer
customsInvoiceNumber•StringInvoice number for customs
customsShipmentType•CustomsShipmentTypeShipment export type for customs
DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLEallocationStrategy•OrderAllocationStrategyStock allocation strategy for the order
BULK_NON_PICKABLEFEFOLEFOprintPackingSlip•BooleanWhether to print a packing slip
returnShippingServiceMethodId•IDShipping service method id for return shipment to print
shippingServiceMethodId•IDPreferred shipping service method id
locale•StringBCP-47 locale used for communication templates
key•String!Stable definition key.
value•MixedRaw JSON value. Null clears the value.
address•StringStreet / first address line
address2•StringSecond address line
city•StringCity
companyName•StringCompany name (required when no name provided)
countryCode•StringISO code 3166 alpha 2
email•StringEmail address
eori•StringEconomic Operators Registration and Identification number
houseNumber•StringHouse number and addition
name•StringContact person name (required when no company name provided)
oss•StringOne-Stop Shop (OSS) number
phone•StringPhone number
postalCode•StringPostal code
stateCode•StringState code
vat•StringVAT identification number
reference•StringReference of the order
Possible return
canceledAt•DateTimeTzWhen the order was canceled.
createdAt•DateTimeTz!When the order was created.
customsInvoiceNumber•StringInvoice number for customs
customsShipmentType•CustomsShipmentTypeShipment export type for customs
DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLEid•ID!Unique primary key.
integrationReference•StringIntegration reference of the order
isUpdatable•Boolean!Whether this order can be updated.
locale•StringBCP-47 locale used for communication templates
quantityAllocated•Int!Quantity allocated in to fulfillments
quantityOrdered•Int!Quantity ordered
quantityShipped•Int!Quantity (already) shipped
quantityUnallocated•Int!Quantity that is not (yet) allocated to a fulfillment
reference•StringReference of the order
shippedAt•DateTimeTzWhen the order was shipped.
status•OrderStatus!Status of the order
ALLOCATEDCANCELEDCREATEDEXPECTEDPARTIALLY_SHIPPEDSHIPPEDUNALLOCATEDupdatedAt•DateTimeTz!When the order was last updated.
field•[String!]message•String!