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
Arguments
checkoutCustomerAttach.checkoutId ● ID deprecated scalar miscellaneous
DEPRECATED
Use id instead.
The ID of the checkout.
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.
checkoutCustomerAttach.token ● UUID deprecated scalar miscellaneous
DEPRECATED
Use id instead.
Checkout token.
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.