# Prodotti

Gestisci il catalogo prodotti del brand.

GET `/brands/:slug/products`

Elenca tutti i prodotti.

Responses

200 Products

```
curl -X GET \
  https://anomalia.so/api/v1/brands/:slug/products \
  -H "Authorization: Bearer $TOKEN"
```

POST `/brands/:slug/products`

Aggiungi un nuovo prodotto.

Request Body

```
{ "title": "Gourmet Pizza", "pricing": "€14" }
```

Responses

201 Created

```
curl -X POST \
  https://anomalia.so/api/v1/brands/:slug/products \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Gourmet Pizza", "pricing": "€14" }'
```

PUT `/brands/:slug/products/:id`

Aggiorna un prodotto.

Request Body

```
{ "title": "Gourmet Pizza v2", "pricing": "€16" }
```

Responses

200 Updated

```
curl -X PUT \
  https://anomalia.so/api/v1/brands/:slug/products/:id \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Gourmet Pizza v2", "pricing": "€16" }'
```

DELETE `/brands/:slug/products/:id`

Elimina un prodotto.

Responses

200 Deleted

```
curl -X DELETE \
  https://anomalia.so/api/v1/brands/:slug/products/:id \
  -H "Authorization: Bearer $TOKEN"
```

[

← Precedente

Analytics

](/it/docs/api/analytics)[

Avanti →

Articoli

](/it/docs/api/articles)

---
Source: https://www.anomalia.so/it/docs/api/products
