Magidoc

checkoutCustomerAttach
Mutation

Sets the customer as the owner of the checkout.

Arguments

#

checkoutId

ID !
Non-null

ID of the checkout.

Response

#

Returns CheckoutCustomerAttach .

Example

#

    mutation ($checkoutId: ID!) {
  checkoutCustomerAttach(checkoutId: $checkoutId) {
    checkout {
      created
      lastChange
      quantity
      note
      currency
      discountName
      translatedDiscountName
      voucherCode
      poNumbers
      id
      email
      isShippingRequired
      token
      discountType
    }
    checkoutErrors {
      field
      message
      code
      variants
    }
  }
}

  

3