---
title: "Create store"
method: POST
path: "/stores"
tags: ["Stores"]
---

# Create store

`POST /stores`

## Request

- Base URL: `https://api.metorial.com`
- URL: `https://api.metorial.com/stores`
- Auth: HTTP bearer

Creates a new store for the instance.

## Headers

- `Metorial-Version` string

## Request body

- BodyRequest77
  - `name` string, required
  - `access` 'private' | 'public_read' | 'public_write'
  - `template_id` string
  - `parent_id` string

## Response `200`

Successful response

- Store
  - `object` 'store', required: String representing the object's type
  - `id` string, required
  - `name` string, required
  - `access` 'private' | 'public_read' | 'public_write', required
  - `item_count` number, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid parameters or action
- `401`: Missing or invalid API key
- `403`: The key lacks permission for this resource
- `404`: No such resource
- `422`: Validation failed
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/metorial/apis/metorial-api.md) - [All operations](https://skmtc.dev/metorial/apis/metorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metorial/apis/metorial-api/revisions/10ccc89f3eac?raw)
