checkoutCustomerAttach
Sets the customer as the owner of the checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.
checkoutCustomerAttach(
checkoutId: ID
customerId: ID
id: ID
token: UUID
): CheckoutCustomerAttach
Arguments
checkoutCustomerAttach.checkoutId
● ID
scalar miscellaneous
The ID of the checkout.
DEPRECATED: this field will be removed in Saleor 4.0. Use
id
instead.
checkoutCustomerAttach.customerId
● ID
scalar miscellaneous
ID of customer to attach to checkout. Requires IMPERSONATE_USER permission when customerId is different than the logged-in user.
checkoutCustomerAttach.id
● ID
scalar miscellaneous
The checkout's ID.
Added in Saleor 3.4
checkoutCustomerAttach.token
● UUID
scalar miscellaneous
Checkout token.
DEPRECATED: this field will be removed in Saleor 4.0. Use
id
instead.
Type
CheckoutCustomerAttach
object checkout
Sets the customer as the owner of the checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.