Identity__create My Store
Self-serve store creation for the logged-in merchant (first store and additional stores). Requires a signed-in staff user.
identity__createMyStore(input: CreateMyStoreInput!): Tenant!Self-serve store creation for the logged-in merchant (first store and additional stores). Requires a signed-in staff user.
Arguments
input*Returns
- identity__createMyStore
_id*ID!address?businessPhoneNumber?Stringcharges?commits?createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
customDomain?customerSupportInfo?description?Stringfavicon?footerLogo?kyc?legalPolicies?logo?name*String!notices?orderFlow?plugins?seo?siteDomain?StringsocialLinks?status?Stringtagline?Stringuid?StringupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
mutation Identity__createMyStore($input: CreateMyStoreInput!) { identity__createMyStore(input: $input) { _id address { caption lat lng } businessPhoneNumber charges { deliveryRegions { charge label } taxRate } createdAt description name siteDomain status tagline }}{ "input": { "name": "string", "uid": "string" }}{ "data": { "identity__createMyStore": { "_id": "1", "address": { "caption": "string", "lat": 10.5, "lng": 10.5 }, "businessPhoneNumber": "string", "charges": { "deliveryRegions": [ { "charge": 10.5, "label": "string" } ], "taxRate": 10.5 }, "createdAt": "<DateTime>", "description": "string", "name": "string", "siteDomain": "string", "status": "string", "tagline": "string" } }}Identity__create Customer MUTATION
{ 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__create Role MUTATION
Requires a signed-in staff user. Needs the `identity__Role` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).