nauticalOrderUpdate Mutation
Updates an order.
Arguments
#
Response
#
Returns NauticalOrderUpdate .
Example
#
mutation ($id: ID!, $input: NauticalOrderUpdateInput!) {
nauticalOrderUpdate(id: $id, input: $input) {
orderErrors {
field
message
code
warehouse
orderLine
variant
}
nauticalOrder {
id
externalId
externalSource
orderSource
created
updated
status
subStatus
languageCode
trackingClientId
currency
isMarketplaceShippingPriceOverridden
euInvoiceMessaging
vatIdentificationNumber
mpVatIdentificationNumber
token
discountName
translatedDiscountName
displayGrossPrices
customerNote
importedAt
poNumbers
allowedSubStatuses
actions
number
isPaid
paymentStatus
paymentStatusDisplay
statusDisplay
canFinalize
userEmail
isShippingRequired
shippingMethodName
marketplaceShippingMethodName
}
}
}
3
{
"id": "aWQ6MzI=",
"input": {
"billingAddress": {
"firstName": "John",
"lastName": "Smith",
"companyName": "Acme Inc.",
"streetAddress1": "123 Maple Street",
"streetAddress2": "Suite 101",
"city": "Toronto",
"cityArea": "Downtown",
"postalCode": "M5H 2N2",
"country": "AF",
"countryArea": "ON",
"phone": "+1-555-123-4567"
},
"userEmail": "userEmail",
"shippingAddress": {
"firstName": "John",
"lastName": "Smith",
"companyName": "Acme Inc.",
"streetAddress1": "123 Maple Street",
"streetAddress2": "Suite 101",
"city": "Toronto",
"cityArea": "Downtown",
"postalCode": "M5H 2N2",
"country": "AF",
"countryArea": "ON",
"phone": "+1-555-123-4567"
},
"poNumbers": [
"poNumbers"
]
}
}
3
{
"nauticalOrderUpdate": {
"orderErrors": [
{
"field": "string",
"message": "string",
"code": "ATTRIBUTE_CANNOT_BE_ASSIGNED",
"warehouse": "d2FyZWhvdXNlOjI3",
"orderLine": "b3JkZXJMaW5lOjU5",
"variant": "dmFyaWFudDo1OA=="
}
],
"nauticalOrder": {
"id": "aWQ6NDY=",
"externalId": "string",
"externalSource": "string",
"orderSource": "CHECKOUT",
"created": "2022-03-06T08:23:45.000Z",
"updated": "2022-03-06T08:23:45.000Z",
"status": "DRAFT",
"subStatus": "IN_REVIEW",
"languageCode": "string",
"trackingClientId": "string",
"currency": "string",
"isMarketplaceShippingPriceOverridden": true,
"euInvoiceMessaging": "string",
"vatIdentificationNumber": "string",
"mpVatIdentificationNumber": "string",
"token": "string",
"discountName": "string",
"translatedDiscountName": "string",
"displayGrossPrices": true,
"customerNote": "string",
"importedAt": "2022-03-06T08:23:45.000Z",
"poNumbers": [
"string"
],
"allowedSubStatuses": [
"IN_REVIEW"
],
"actions": [
"CAPTURE"
],
"number": "string",
"isPaid": true,
"paymentStatus": "NOT_CHARGED",
"paymentStatusDisplay": "string",
"statusDisplay": "string",
"canFinalize": true,
"userEmail": "string",
"isShippingRequired": true,
"shippingMethodName": "string",
"marketplaceShippingMethodName": "string"
}
}
}
3