checkoutCustomerAttach
Sets the customer as the owner of the checkout.
checkoutCustomerAttach(
checkoutId: ID
customerId: ID
id: ID
token: UUID
): CheckoutCustomerAttach
Arguments
checkoutCustomerAttach.checkoutId ● ID scalar
The ID of the checkout.
DEPRECATED: this field will be removed in Saleor 4.0. Use
idinstead.
checkoutCustomerAttach.customerId ● ID scalar
ID of customer to attach to checkout. Requires IMPERSONATE_USER permission when customerId is different than the logged-in user.
checkoutCustomerAttach.id ● ID scalar
The checkout's ID.
Added in Saleor 3.4
checkoutCustomerAttach.token ● UUID scalar
Checkout token.
DEPRECATED: this field will be removed in Saleor 4.0. Use
idinstead.
Type
CheckoutCustomerAttach object
Sets the customer as the owner of the checkout.
Was this page helpful?