# Products

## /api/products

<mark style="color:blue;">`GET`</mark> `https://datelist.io/api/products`

This endpoint allows listing the available products.&#x20;

#### Query Parameters

| Name         | Type   | Description                                  |
| ------------ | ------ | -------------------------------------------- |
| name         | string | Search for products matching a specific name |
| calendar\_id | number | Search for products on a specific calendar   |

#### Headers

| Name           | Type   | Description                                             |
| -------------- | ------ | ------------------------------------------------------- |
| Authentication | string | Authentication token (see the "authentication" section) |

{% tabs %}
{% tab title="200 Returns the requested products" %}

```
[
    {
        "id": 1234,
        "name": "Your product",
        "price": null,
        "places": 1,
        "duration": 60,
        "calendar_id": 73,
        "created_at": "2021-06-15T12:31:25.652Z",
        "updated_at": "2021-06-15T13:00:04.757Z",
        "description": "",
        "deleted_at": null,
        "active": true,
        "tax_amount": null
    },
    {...}
]
```

{% endtab %}
{% endtabs %}
