mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Initial work, copied from the Shopify provider
This commit is contained in:
15
framework/saleor/utils/mutations/customer-create.ts
Normal file
15
framework/saleor/utils/mutations/customer-create.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
const customerCreateMutation = /* GraphQL */ `
|
||||
mutation customerCreate($input: CustomerCreateInput!) {
|
||||
customerCreate(input: $input) {
|
||||
customerUserErrors {
|
||||
code
|
||||
field
|
||||
message
|
||||
}
|
||||
customer {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
export default customerCreateMutation
|
Reference in New Issue
Block a user