Skip to main content

CheckoutCustomerAttach

Sets the customer as the owner of the checkout.

Requires one of the following permissions: AUTHENTICATED_APPAUTHENTICATED_USER

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.
type CheckoutCustomerAttach {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}

Fields

CheckoutCustomerAttach.checkout ● Checkout object checkout

An updated checkout.

CheckoutCustomerAttach.checkoutErrors ● [CheckoutError!]! deprecated non-null object checkout

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CheckoutCustomerAttach.errors ● [CheckoutError!]! non-null object checkout

Returned By

checkoutCustomerAttach mutation