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