Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Identity__create My Store

Self-serve store creation for the logged-in merchant (first store and additional stores). Requires a signed-in staff user.

MUTATIONidentity__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

  1. identity__createMyStore
_id*ID!
address?
businessPhoneNumber?String
charges?
commits?
createdAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

customDomain?
customerSupportInfo?
description?String
favicon?
footerLogo?
kyc?
legalPolicies?
logo?
name*String!
notices?
orderFlow?
plugins?
seo?
siteDomain?String
socialLinks?
status?String
tagline?String
uid?String
updatedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

Example Request
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  }}
Variables
{  "input": {    "name": "string",    "uid": "string"  }}
Example Response
{  "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"    }  }}