forked from crowetic/commerce
19 lines
469 B
TypeScript
19 lines
469 B
TypeScript
const associateCustomerWithCheckoutMutation = /* GraphQl */ `
|
|
mutation associateCustomerWithCheckout($checkoutId: ID!, $customerAccessToken: String!) {
|
|
checkoutCustomerAssociateV2(checkoutId: $checkoutId, customerAccessToken: $customerAccessToken) {
|
|
checkout {
|
|
id
|
|
}
|
|
checkoutUserErrors {
|
|
code
|
|
field
|
|
message
|
|
}
|
|
customer {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
`
|
|
export default associateCustomerWithCheckoutMutation
|