> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qwoty.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List Products

> Retrieve products in your workspace with pagination and filters

## Authorization

**Authorization** `string` *required*

Bearer token for authentication. Format: `Bearer qwoty_your_token`

## Query Parameters

**limit** `integer` (default: 30)

Number of results per page (max 200)

**page** `integer` (default: 1)

Page number (1-based)

**external\_id** `string`

Filter by external identifier. Matches against `identifiers.erp`,
`identifiers.crm`, and `identifiers.accounting`.

**api\_name** `string`

Filter by exact API name

**sku** `string`

Filter by SKU (`inventory.sku`)

**reference** `string`

Filter by internal reference

## Examples

```bash cURL theme={null}
curl https://qwoty.app/api/products \
  -H "Authorization: Bearer qwoty_your_token"
```

```bash With Filters theme={null}
curl "https://qwoty.app/api/products?limit=30&sku=CONS-SEN-001" \
  -H "Authorization: Bearer qwoty_your_token"
```

```javascript JavaScript theme={null}
const response = await fetch('https://qwoty.app/api/products?limit=30', {
  headers: {
    Authorization: 'Bearer qwoty_your_token',
  },
})

const data = await response.json()
```

```python Python theme={null}
import requests

response = requests.get(
    'https://qwoty.app/api/products',
    params={'limit': 30},
    headers={
        'Authorization': 'Bearer qwoty_your_token'
    }
)

data = response.json()
```

## Response

**total** `integer`

Total number of products matching the query (across all pages)

**next** `string | null`

URL to fetch the next page, or `null` if this is the last page

**data** `array`

Array of product objects for the current page

**Product Object**

**id** `string`

Unique identifier (UUID)

**product\_parent\_id** `string`

ID of parent product (UUID)

**workspace\_id** `string`

Workspace ID (UUID)

**name** `string`

Product name (display name combining parent + variant options)

**api\_name** `string`

API identifier

**reference** `string`

Internal reference

**description** `string`

Product description

**description\_inherit\_from\_product** `boolean`

Whether description is inherited from the parent product

**primary\_image\_inherit\_from\_product** `boolean`

Whether the primary image is inherited from the parent product

**is\_active** `boolean`

Active status

**is\_default** `boolean`

Whether this is the default product under its parent

**catalogs** `array`

Catalogs linked to the parent product

**Catalog Entry**

**id** `string`

Catalog ID (UUID)

**name** `string`

Catalog name

**api\_name** `string`

Catalog API name

**categories** `array`

Categories linked to the parent product

**Category Entry**

**id** `string`

Category ID (UUID)

**api\_name** `string`

Category API name

**settings** `object`

Product settings and configuration

**shipping** `object`

Shipping information

**inventory** `object`

Inventory information

**identifiers** `object`

External system identifiers

**accounting** `object`

Accounting information

**options** `array`

Option values for this product (e.g., color, size)

**Option Object**

**option\_id** `string`

Option definition ID (UUID)

**option\_name** `string`

Option name (e.g., "Color")

**option\_api\_name** `string`

Option API name

**value\_id** `string`

Option value ID (UUID)

**value\_name** `string`

Option value (e.g., "Blue")

**value\_api\_name** `string`

Value API name

**prices** `array`

Prices associated with this product across all pricebooks

**Price Entry**

**id** `string`

Price ID (UUID)

**key** `string | null`

Semantic price key (`<product_api_name>.<pricebook_api_name>[.<unit>.<period>]`), same value as `key` on `/prices` and the CSV price import `id` column

**pricebook** `object`

Pricebook of this price

**Pricebook**

**id** `string`

Pricebook ID (UUID)

**name** `string`

Pricebook name

**api\_name** `string`

Pricebook API name

**type** `string`

Pricebook type (`fixed` or `dynamic`)

**billing\_frequency** `object | null`

Billing frequency (`{ id, period, unit }`), `null` for a one-off price

**pricing\_model** `string`

Pricing model (`flat`, `volume`, `graduated`, `percent`, `cost_based`, `none`)

**amount** `number | null`

Unit price. Only populated when `pricing_model` is `flat`, otherwise `null`.

**primary\_image\_id** `string`

UUID of the primary media for this product. Null if none is set.

**parent\_primary\_image\_id** `string`

UUID of the primary media of the parent product. Read-only.

```json Success Response theme={null}
{
  "total": 42,
  "next": "https://qwoty.app/api/products?limit=30&page=2",
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "product_parent_id": "660e8400-e29b-41d4-a716-446655440001",
      "workspace_id": "880e8400-e29b-41d4-a716-446655440003",
      "name": "Consulting Services - Senior",
      "api_name": "consulting_services_senior",
      "reference": "SERV-001",
      "description": "Senior consultant hourly rate",
      "description_inherit_from_product": true,
      "primary_image_inherit_from_product": true,
      "is_active": true,
      "is_default": true,
      "catalogs": [
        {
          "id": "770e8400-e29b-41d4-a716-446655440002",
          "name": "Main Catalog",
          "api_name": "catalog_main"
        }
      ],
      "categories": [],
      "settings": {
        "unit_per_pack": 1,
        "product_type": "service",
        "language_code": "en",
        "unit_of_measure": "hour",
        "recurrence_type": "recurring"
      },
      "shipping": {
        "weight": null,
        "weight_unit": null,
        "height": null,
        "length": null,
        "width": null,
        "length_unit": null,
        "country_of_origin": null,
        "harmonized_system_code": null
      },
      "inventory": {
        "sku": "CONS-SEN-001"
      },
      "identifiers": {
        "crm": null,
        "accounting": null,
        "erp": null
      },
      "accounting": {
        "ledger_account": null
      },
      "options": [
        {
          "option_id": "opt-001",
          "option_name": "Seniority",
          "option_api_name": "seniority",
          "value_id": "val-001",
          "value_name": "Senior",
          "value_api_name": "senior"
        }
      ],
      "prices": [
        {
          "id": "price-001",
          "key": "consulting_services_senior.standard",
          "pricebook": { "id": "pb-001", "name": "Standard", "api_name": "standard", "type": "fixed" },
          "billing_frequency": null,
          "pricing_model": "flat",
          "amount": 1990
        }
      ],
      "primary_image_id": null,
      "parent_primary_image_id": null,
      "created_at": "2024-12-21T10:30:00Z",
      "updated_at": "2024-12-21T10:30:00Z"
    }
  ]
}
```

## Error Responses

```json Unauthorized theme={null}
{
  "error": "Invalid or expired token"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.