Magidoc

nauticalOrderUpdate
Mutation

Updates an order.

Arguments

#

id

ID !
Non-null

ID of order to update

input

Non-null

Fields required to update an order.

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