saleor: preliminary signup process

This commit is contained in:
Zaiste
2021-04-28 16:41:01 +02:00
parent 7d80fadd82
commit 7524f5ab2e
3 changed files with 17 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
const associateCustomerWithCheckoutMutation = /* GraphQl */ `
mutation associateCustomerWithCheckout($checkoutId: ID!, $customerAccessToken: String!) {
mutation associateCustomerWithCheckout($checkoutId: ID!, $customerAccessToken: String!) {
checkoutCustomerAssociateV2(checkoutId: $checkoutId, customerAccessToken: $customerAccessToken) {
checkout {
id

View File

@@ -1,7 +1,7 @@
const customerCreateMutation = /* GraphQL */ `
mutation customerCreate($input: CustomerCreateInput!) {
mutation customerCreate($input: UserCreateInput!) {
customerCreate(input: $input) {
customerUserErrors {
errors {
code
field
message