---
search:
  tags:
    - Negozi
    - POST
seo:
  description: >-
    Aggiorna un negozio (il body POST è parziale). Richiede una chiave Write.
    Invia null per cancellare un campo opzionale. Le credenziali Zahls restano
    solo nel…
sidebar:
  label: Aggiorna negozio
  badge: POST
title: Aggiorna negozio
type: openapi-operation
---
Aggiorna un negozio (il body POST è parziale). Richiede una chiave Write. Invia `null` per cancellare un campo opzionale. Le credenziali Zahls restano solo nel dashboard.

`POST /stores/{storeId}`

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

- `name` (string)
- `address` (string | null)
- `zipCode` (string | null)
- `city` (string | null) — Etichetta leggibile del negozio nell'organizzazione
- `vatNumber` (string | null)
- `paymentCash` (boolean | null)
- `paymentPaytec` (boolean | null)
- `paymentZahls` (boolean | null)
- `paymentZahlsOffline` (boolean | null)
- `paymentCashOffline` (boolean | null)
- `showSupplier` (boolean | null)
- `hideTextStart` (boolean | null)
- `generalMargin` (number | null)
- `customMessage` (string | null)
- `backgroundImageCart` (string | object | null) — \`null\` rimuove il campo.
- `backgroundImage` (string | object | null) — \`null\` rimuove il campo.
- `backgroundColor` (string | null)
- `backgroundFontColor` (string | null)
- `playSound` (boolean | null)
- `standardSound` (string | null)
- `adminMail` (string | null)
- `showInfoButton` (boolean | null)
- `showPictures` (boolean | null)
- `showPicturesScale` (boolean | null)
- `deleteCountdown` (number | null)
- `logoUrl` (string | null)
- `languageMulti` (boolean | null)
- `languageMain` (string | null)
- `languageSelector` (string[] | null)
- `translations` (object | null)
- `deleted` (boolean) — Imposta true per il soft-delete.

Request body example:

```json
{
  "city": "Bern"
}
```

**Responses**

- `200` — Aggiornato
- `400` — Parametri o body non validi.
- `403` — Chiave API mancante, sconosciuta o inattiva, oppure chiave Read su un’operazione di scrittura.
- `404` — Nessun elemento con questo id.

Response example, 200:

```json
{
  "success": true
}
```

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"
}
```
