---
title: "Create store"
method: POST
path: "/api/ecommerce/v1/stores"
tags: ["Ecommerce: Stores"]
---

# Create store

`POST /api/ecommerce/v1/stores`

Create a new store for your account.

A primary sales channel is created alongside the store.

## Request body

- EcommerceV1StoreStoreRequest
  - `name` string
  - `country_code` string — ISO 3166-1 alpha-2 country code.
  - `company_email` string
  - `company_name` string
  - `language` string — ISO 639-1 language code.
  - `sales_channel` object
    - `type` 'custom' — Sales channel type. Only "custom" channels can be created via the API.
    - `external_id` string, nullable — External identifier for the sales channel.

## Response `201`

Created response

- EcommerceV1StoreStoreCreationResource
  - `store` object
    - `id` string — Store ID
    - `name` string, nullable — Store name
    - `company_name` string, nullable — Company name
    - `h_panel_id` string — Identifier of the hPanel account that owns the store.
    - `created_at` string, date-time — Creation date
    - `default_currency_code` string — Default currency code (ISO 4217), in lowercase.
  - `sales_channel` object
    - `id` string — Sales channel ID
    - `type` 'builder' | 'horizons' | 'tiktok' | 'custom' | 'quick-link' | 'wordpress' — Sales channel type
    - `external_id` string, nullable — External identifier for the sales channel

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
