f80578d43845
latestOpenAPI 3.1.02026-07-1414757122.7 KBproducts
Get products list (with many filters)
Returns a paginated list of products. Supports filtering by category, availability, type, etc. Example: GET /crm/v1/static/products?page=1&list=20
get/crm/v1/static/products
Query parameters
pageinteger
Current page
listinteger
How many items should be per page
Response
Successful response
Example response
{
"data": [
{
"id": 1,
"product_category_id": 1,
"measurement_unit_id": 1,
"title": "Some laptop",
"article": "ART 123456789",
"type": "goods",
"is_active": true,
"availability": "available",
"quantity": 1.0001,
"reserved_quantity": 0.0001,
"description": "Some product description",
"comment": "Some product comment",
"link": "www.youtube.com/some_link",
"created_at": 12156465,
"updated_at": 12156465,
"product_category": {
"id": 2,
"parent_id": 1,
"name": "Main category",
"is_active": true,
"created_at": 12156465,
"updated_at": 12156465
},
"measurement_unit": {
"id": 1,
"name": "Kilograms",
"abbr": "Kg",
"is_default": true
},
"prices": [
{
"id": 1,
"price": 10000,
"currency": "USD",
"is_default": true,
"tax": {
"id": 1,
"name": "NDS",
"rate": 25.5
}
}
],
"files": [
"path/to/image.jpg",
"path/to/image.png"
]
}
],
"meta": {
"currentPage": 1,
"from": 1,
"lastPage": 1,
"links": [
{
"label": "Previous"
}
],
"path": "https://domain.uspacy.ua/crm/v1/entities/leads",
"perPage": 20,
"to": 2,
"total": 2
}
}