---
search:
  tags:
    - Stores
    - POST
seo:
  description: >-
    Create a store location. Requires a Write key. Within an organization, name
    is often the brand;… Reference for the POST /stores endpoint in the
    scango.ch API.
sidebar:
  label: Create store
  badge: POST
title: Create store
type: openapi-operation
---
Create a store location. Requires a Write key. Within an organization, `name` is often the brand; use `city` (or address) to distinguish locations. Payment provider credentials (Zahls) are configured in the dashboard, not via this API.

`POST /stores`

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

- `name` (string, required)
- `address` (string)
- `zipCode` (string)
- `city` (string) — Human-readable store label within the organization
- `vatNumber` (string)
- `paymentCash` (boolean)
- `paymentPaytec` (boolean)
- `paymentZahls` (boolean)
- `paymentZahlsOffline` (boolean)
- `paymentCashOffline` (boolean)
- `showSupplier` (boolean)
- `hideTextStart` (boolean)
- `generalMargin` (number)
- `customMessage` (string)
- `backgroundImageCart` (string | object)
- `backgroundImage` (string | object)
- `backgroundColor` (string)
- `backgroundFontColor` (string)
- `playSound` (boolean)
- `standardSound` (string)
- `adminMail` (string)
- `showInfoButton` (boolean)
- `showPictures` (boolean)
- `showPicturesScale` (boolean)
- `deleteCountdown` (number)
- `logoUrl` (string)
- `languageMulti` (boolean)
- `languageMain` (string)
- `languageSelector` (string[])
- `translations` (object)

Request body example:

```json
{
  "name": "Main store",
  "city": "Zürich",
  "address": "Bahnhofstrasse 1",
  "zipCode": "8001"
}
```

**Responses**

- `200` — Store created
- `400` — Invalid parameters or body.
- `403` — Missing, unknown or inactive API key, or a Read key on a write operation.

Response example, 200:

```json
{
  "success": true,
  "id": "newStoreId"
}
```

Response example, 400:

```json
{
  "statusCode": 400,
  "message": "Validation failed for Field: name, Error: Required",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/suppliers"
}
```

Response example, 403:

```json
{
  "statusCode": 403,
  "message": "Unknown Error",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/products"
}
```
