---
search:
  tags:
    - Operator
    - POST
seo:
  description: >-
    Operator equivalent of POST /stores, usable during… Reference for the POST
    /operator/merchants/{merchant_id}/stores endpoint in the Sarvex V1 API.
sidebar:
  label: Create a store under a merchant
  badge: POST
title: Create a store under a merchant
type: openapi-operation
---
Operator equivalent of `POST /stores`, usable during provisioning. Creates the store (no
connector yet); its journey starts at the beginning. Pairing follows via `POST /connectors`.

`POST /operator/merchants/{merchant_id}/stores`

**Request body** (`application/json`, required)

- `platform` (platform, required) — Connectable commerce backends: WooCommerce and Magento. The model and enum extend to further platform types without structural change.
- `name` (string, required)

Request body example:

```json
{
  "platform": "woocommerce",
  "name": "string"
}
```

**Responses**

- `201` — Store created.
- `403` — Authenticated but not permitted (e.g. non-operator on an operator route).

Response example, 201:

```json
{
  "store_id": "string",
  "name": "string",
  "platform": "woocommerce",
  "domain": "string",
  "connector_id": "string",
  "journey_state": "connected",
  "ucp_state": "draft",
  "declared_capabilities": [
    "catalog"
  ],
  "open_task_count": 0,
  "blocked": true
}
```

Response example, 403:

```json
{
  "error": {
    "code": "forbidden",
    "message": "Operator role required.",
    "details": null
  }
}
```
