Identity__create Customer
{ permissions: ['*', 'create'], collectionName: 'identity__Customer', } Requires a signed-in staff user. Needs the `identity__Customer` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
identity__createCustomer(input: CreateCustomerInput!, tenant: String): CommonMutationResponse!{ permissions: ['*', 'create'], collectionName: 'identity__Customer', } Requires a signed-in staff user. Needs the identity__Customer create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*tenant?StringReturns
- identity__createCustomer
_id*ID!mutation Identity__createCustomer($input: CreateCustomerInput!) { identity__createCustomer(input: $input) { _id }}{ "input": { "name": "string", "phoneNumber": "string" }}{ "data": { "identity__createCustomer": { "_id": "1" } }}Identity__create Api Key MUTATION
Creates a scoped public API key. rawKey is returned once. Requires a signed-in staff user. Needs the `identity__Tenant` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Identity__create My Store MUTATION
Self-serve store creation for the logged-in merchant (first store and additional stores). Requires a signed-in staff user.