GET
/
api
/
products
{
  "count": 100,
  "next": "https://api.example.com/products?page=2",
  "previous": null,
  "results": [
    {
      "id": 1,
      "sku": "PROD-001",
      "name": "Example Product",
      "status": "active",
      "product_type": "simple",
      "created_at": "2024-01-01T12:00:00Z",
      "project": 1
    }
    // ... more products
  ]
}
Returns a paginated list of products. You can filter and sort the results using query parameters.

Query Parameters

project
integer
Filter products by project ID
status
string
Filter by status (active, inactive, pending, archived)
product_type
string
Filter by product type (simple, configurable, virtual, bundle, grouped)
category
integer
Filter by category ID
page
integer
default:"1"
Page number for pagination
page_size
integer
default:"20"
Number of items per page

Response

count
integer
Total number of products matching the filters
next
string
URL for the next page of results
previous
string
URL for the previous page of results
results
array
List of product objects
{
  "count": 100,
  "next": "https://api.example.com/products?page=2",
  "previous": null,
  "results": [
    {
      "id": 1,
      "sku": "PROD-001",
      "name": "Example Product",
      "status": "active",
      "product_type": "simple",
      "created_at": "2024-01-01T12:00:00Z",
      "project": 1
    }
    // ... more products
  ]
}