## Deletes a product list by id, optionally archiving it or removing only its header.

`product_lists.delete_product_list(strstore_number, ProductListDeleteProductListParams**kwargs)  -> ProductListDeleteProductListResponse`

**delete** `/api/v2/public/stores/{store_number}/productlists`

Deletes a product list by id, optionally archiving it or removing only its header.

### Parameters

- `store_number: str`

- `product_list_id: int`

  The product list identifier to delete.

- `is_archived: Optional[bool]`

  When true, archives the product list instead of permanently deleting it.

- `is_delete_header: Optional[bool]`

  When true, deletes only the product list header (and its lines).

- `accept_language: Optional[str]`

- `api_key: Optional[str]`

### Returns

- `bool`

### Example

```python
import os
from colleqtive_sdk import Colleqtive

client = Colleqtive(
    bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"),  # This is the default and can be omitted
)
response = client.product_lists.delete_product_list(
    store_number="store_number",
    product_list_id=0,
)
print(response)
```

#### Response

```json
true
```
