Skip to content
Guides
Platform & IdentityStores

Create store

Creates a store in the current organization and starts its background provisioning.

POST/v1/stores

Creates a store in the current organization and starts its background provisioning.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Header Parameters

Authorization*string

OAuth 2.0 bearer token.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/stores" \  -H "Authorization: Bearer <token>" \  -H "Content-Type: application/json" \  -d '{    "name": "Example resource",    "slug": "example-resource",    "description": "Example description.",    "domain": "example",    "logo": "example",    "type": "b2C"  }'
{  "id": "7204558912004325301",  "name": "Example resource",  "organizationId": "7204558912004325301",  "storeType": "b2C",  "status": "active",  "provisioningStatus": "provisioning",  "slug": "example-resource",  "domain": "example"}