checkoutCustomerAttach Mutation
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
Show return type
Arguments
customerId ● ID
ID of customer to attach to checkout. Requires IMPERSONATE_USER permission when customerId is different than the logged-in user.
id ● ID
The checkout's ID.
Show deprecated
Type
CheckoutCustomerAttach
Sets the customer as the owner of the checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.