Magidoc

nauticalOrderCapture
Mutation

Capture a nautical order.

Arguments

#

amount

Non-null

Amount of money to capture.

id

ID !
Non-null

ID of the nautical order to capture.

paymentId

ID of the payment attached to the nautical order to capture. If not specified, the last payment on the order will be used.

Response

#

Returns NauticalOrderCapture .

Example

#

    mutation ($amount: PositiveDecimal!, $id: ID!, $paymentId: ID) {
  nauticalOrderCapture(amount: $amount, id: $id, paymentId: $paymentId) {
    order {
      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