# Product Count

### Overview <a href="#shoplistapidocumentation-overview" id="shoplistapidocumentation-overview"></a>

This API  can be used to fetch the count of products in the shop list.

### Endpoint <a href="#shoplistapidocumentation-endpoints" id="shoplistapidocumentation-endpoints"></a>

* **URL:** `/shop/products-count`
* **Method:** `GET`
* **Query Parameters:**

<table data-header-hidden><thead><tr><th width="290"></th><th></th><th></th></tr></thead><tbody><tr><td>Parameter</td><td>Type</td><td>Description</td></tr><tr><td><code>parentId</code></td><td>string</td><td>Optional, filters the products list count based on parentId</td></tr></tbody></table>



* **Success Response:**
  * **Code:** 200 OK
  * **Content:**
  * ```json
    {
        "message": "No Message",
        "data": {
            "count": 22
        }
    }

    ```
