orderUpdate
Update an order.
Arguments
idID!ID of the order.
addressStringStreet / first address line
address2StringSecond address line
cityStringCity
companyNameStringCompany name (required when no name provided)
countryCodeStringISO code 3166 alpha 2
emailStringEmail address
eoriStringEconomic Operators Registration and Identification number
houseNumberStringHouse number and addition
nameStringContact person name (required when no company name provided)
ossStringOne-Stop Shop (OSS) number
phoneStringPhone number
postalCodeStringPostal code
stateCodeStringState code
vatStringVAT identification number
brandIdIDID of the brand
customerIdIDID of the customer
customsInvoiceNumberStringInvoice number for customs
customsShipmentTypeCustomsShipmentTypeShipment export type for customs
DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLEfulfillmentMergePreferenceOrderFulfillmentMergePreferenceHow the order may be combined.
AUTOMATICMANUAL_ONLYNEVERallocationStrategyOrderAllocationStrategyStock allocation strategy for the order
BULK_NON_PICKABLEFEFOLEFOprintPackingSlipBooleanWhether to print a packing slip
returnShippingServiceMethodIdIDShipping service method id for return shipment to print
shippingServiceMethodIdIDPreferred shipping service method id
localeStringBCP-47 locale used for communication templates
keyString!Stable definition key.
valueMixedRaw JSON value. Null clears the value.
addressStringStreet / first address line
address2StringSecond address line
cityStringCity
companyNameStringCompany name (required when no name provided)
countryCodeStringISO code 3166 alpha 2
emailStringEmail address
eoriStringEconomic Operators Registration and Identification number
houseNumberStringHouse number and addition
nameStringContact person name (required when no company name provided)
ossStringOne-Stop Shop (OSS) number
phoneStringPhone number
postalCodeStringPostal code
stateCodeStringState code
vatStringVAT identification number
referenceStringReference of the order
carrierCodeStringPreferred carrier code.
carrierServicePointCodeStringCarrier service point identifier.
deliveryDateStringRequested delivery date.
featuresMixedIndividual feature changes; null values clear individual requirements.
handoverDateStringRequested handover date.
insuranceRequirementShippingInsuranceRequirementInputRequired insurance coverage.
integrationServicePointCodeStringIntegration service point identifier.
integrationServicePointTypeStringIntegration service point provider.
Returns
canceledAtDateTimeTzWhen the order was canceled.
checkoutShippingMethodNameStringName of the shipping method the customer chose at checkout, as provided by the sales channel
createdAtDateTimeTz!When the order was created.
customsInvoiceNumberStringInvoice number for customs
customsShipmentTypeCustomsShipmentTypeShipment export type for customs
DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLEfulfillmentMergeAllowedBoolean!Whether the sales channel allows this order in a combined fulfillment.
fulfillmentMergePreferenceOrderFulfillmentMergePreference!Combination preference for processing this order in a combined fulfillment. Orders remain separate.
AUTOMATICMANUAL_ONLYNEVERidID!Unique primary key.
integrationReferenceStringIntegration reference of the order
isUpdatableBoolean!Whether this order can be updated.
localeStringBCP-47 locale used for communication templates
quantityAllocatedInt!Quantity allocated in to fulfillments
quantityOrderedInt!Quantity ordered
quantityShippedInt!Quantity (already) shipped
quantityUnallocatedInt!Quantity that is not (yet) allocated to a fulfillment
referenceStringReference of the order
shippedAtDateTimeTzWhen the order was shipped.
statusOrderStatus!Status of the order
ALLOCATEDCANCELEDCREATEDEXPECTEDPARTIALLY_SHIPPEDSHIPPEDUNALLOCATEDupdatedAtDateTimeTz!When the order was last updated.
field[String!]messageString!