v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
Ecommerce: Stores

Create store

Create a new store for your account.

A primary sales channel is created alongside the store.

post/api/ecommerce/v1/stores

Request body

namestring
country_codestring

ISO 3166-1 alpha-2 country code.

company_emailstring
company_namestring
languagestring

ISO 639-1 language code.

Example request

{
  "name": "My Store",
  "country_code": "us",
  "company_email": "owner@example.com",
  "company_name": "My Company",
  "language": "en",
  "sales_channel": {
    "type": "custom"
  }
}

Response

Created response

Example response

{
  "store": {
    "id": "store_01J8Z5F8W9K8M4A7B3C2D1E0FG",
    "name": "My Store",
    "company_name": "My Company",
    "h_panel_id": "1234567",
    "created_at": "2026-01-21T07:35:04.000000Z",
    "default_currency_code": "usd"
  },
  "sales_channel": {
    "id": "scha_01J8Z5F8W9K8M4A7B3C2D1E0FG",
    "type": "custom"
  }
}