Magidoc

nauticalDraftOrderSetTransactionCurrency
Mutation

Update currency in the existing nautical draft order object, related nautical order lines, child order and their lines.

Arguments

#

currency

Non-null

Set currency for this draft nautical order and related items.

nauticalOrderId

ID !
Non-null

ID of the draft nautical order to update transaction currenct.

Response

#

Returns NauticalDraftOrderSetTransactionCurrency .

Example

#

    mutation (
  $currency: MarketplaceConfigurationCurrencyEnum!
  $nauticalOrderId: ID!
) {
  nauticalDraftOrderSetTransactionCurrency(
    currency: $currency
    nauticalOrderId: $nauticalOrderId
  ) {
    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
    }
    orderErrors {
      field
      message
      code
      warehouse
      orderLine
      variant
    }
  }
}

  

3