commerce/framework/swell/utils/mutations/customer-create.ts
2021-03-02 21:05:13 -06:00

16 lines
305 B
TypeScript

const customerCreateMutation = /* GraphQL */ `
mutation customerCreate($input: CustomerCreateInput!) {
customerCreate(input: $input) {
customerUserErrors {
code
field
message
}
customer {
id
}
}
}
`
export default customerCreateMutation