# Products

Manage the brand's product catalog.

GET `/brands/:slug/products`

List all products.

Responses

200 Products

Use your running CRUMBLESS\_API\_BASE\_URL and matching CRUMBLESS\_API\_TOKEN. [API setup](/docs/api)

```
curl -X GET \
  "$CRUMBLESS_API_BASE_URL/brands/:slug/products" \
  -H "Authorization: Bearer $CRUMBLESS_API_TOKEN"
```

POST `/brands/:slug/products`

Add a new product.

Request Body

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

Responses

201 Created

Use your running CRUMBLESS\_API\_BASE\_URL and matching CRUMBLESS\_API\_TOKEN. [API setup](/docs/api)

```
curl -X POST \
  "$CRUMBLESS_API_BASE_URL/brands/:slug/products" \
  -H "Authorization: Bearer $CRUMBLESS_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Gourmet Pizza", "pricing": "€14" }'
```

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

Update a product.

Request Body

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

Responses

200 Updated

Use your running CRUMBLESS\_API\_BASE\_URL and matching CRUMBLESS\_API\_TOKEN. [API setup](/docs/api)

```
curl -X PUT \
  "$CRUMBLESS_API_BASE_URL/brands/:slug/products/:id" \
  -H "Authorization: Bearer $CRUMBLESS_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Gourmet Pizza v2", "pricing": "€16" }'
```

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

Delete a product.

Responses

200 Deleted

Use your running CRUMBLESS\_API\_BASE\_URL and matching CRUMBLESS\_API\_TOKEN. [API setup](/docs/api)

```
curl -X DELETE \
  "$CRUMBLESS_API_BASE_URL/brands/:slug/products/:id" \
  -H "Authorization: Bearer $CRUMBLESS_API_TOKEN"
```

---
Source: https://crumbless.app/docs/api/products
