v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Store

Create Store

Create Store

post/workspaces/{workspace_id}/stores

Path parameters

workspace_idinteger required

Request body

Example request

{
  "store": {
    "store": {
      "name": "Example Store",
      "current_path": "/example-store",
      "seo_title": "Example Store",
      "seo_description": "Example Store",
      "seo_indexable": true,
      "social_image_id": null,
      "status": "draft"
    }
  }
}

Response

Created

idinteger

Store ID

public_idstring nullable

Store Public ID

namestring

Name

current_pathstring nullable

Current path

seo_titlestring nullable

SEO title

seo_descriptionstring nullable

SEO description

seo_indexableboolean nullable

SEO Indexable

social_image_idstring nullable

Social image

status'draft' | 'published' nullable

Store Status

created_atstring nullable

Added

updated_atstring nullable

Updated

workspace_idinteger nullable

Workspace ID

Example response

{
  "id": 1,
  "public_id": "hlXaqR",
  "name": "Example Store",
  "current_path": "/example-store",
  "seo_title": "Example Store",
  "seo_description": "Example Store",
  "seo_indexable": true,
  "social_image_id": null,
  "status": "draft",
  "created_at": null,
  "updated_at": null,
  "workspace_id": 42000
}