Get Categories previews
curl --request GET \
--url https://api-dev.monyfix.tech/categories/previews \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"name": "<string>",
"products": [
{
"id": "<string>",
"name": "<string>",
"price": 123,
"is_active": true,
"quantity": 123,
"store": {
"id": 123,
"name": "<string>",
"is_blogger": true,
"seller_type": "<string>",
"logo_url": "<string>"
},
"format_price": "<string>",
"platform_price": 123,
"detail_desc": "<string>",
"sku": "<string>",
"question_id": 123,
"attribute_values": [],
"assets": [],
"in_favorites": false,
"promo_codes": [
{
"id": "<string>",
"promo_code": "<string>",
"quantity": 123,
"discount_percent": 123,
"is_for_winner": true,
"expired_at": "2023-11-07T05:31:56Z"
}
],
"category": {
"id": 123,
"name": "<string>"
}
}
]
}
]⚠️ Этот эндпоинт deprecated и будет удален в будущем.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Limit for number of categories
x <= 10Offset for categories
Limit for number of products per category
x <= 10Offset for products per category
Successful Response
Show child attributes
Show child attributes
Show child attributes
curl --request GET \
--url https://api-dev.monyfix.tech/categories/previews \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"name": "<string>",
"products": [
{
"id": "<string>",
"name": "<string>",
"price": 123,
"is_active": true,
"quantity": 123,
"store": {
"id": 123,
"name": "<string>",
"is_blogger": true,
"seller_type": "<string>",
"logo_url": "<string>"
},
"format_price": "<string>",
"platform_price": 123,
"detail_desc": "<string>",
"sku": "<string>",
"question_id": 123,
"attribute_values": [],
"assets": [],
"in_favorites": false,
"promo_codes": [
{
"id": "<string>",
"promo_code": "<string>",
"quantity": 123,
"discount_percent": 123,
"is_for_winner": true,
"expired_at": "2023-11-07T05:31:56Z"
}
],
"category": {
"id": 123,
"name": "<string>"
}
}
]
}
]