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
Details
type CheckoutCustomerAttach {
checkout: Checkout
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}
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 deprecatedHide deprecated
Type
CheckoutCustomerAttach
Sets the customer as the owner of the checkout.
Triggers the following webhook events:
- CHECKOUT_UPDATED (async): A checkout was updated.