Path Parameters
Alias da loja
Body
application/json
Response
200 - application/json
Lista de categorias obtida com sucesso
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/catalog/categories \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"active": true,
"featured": true,
"name": "<string>",
"slug": "<string>",
"seo_title": "<string>",
"seo_keywords": "<string>",
"seo_description": "<string>",
"banners_ids": [
123
],
"external_url": "<string>",
"canonical_url": "<string>"
}'{
"data": [
{
"id": 123,
"merchant_id": 123,
"parent_id": 123,
"active": true,
"featured": true,
"price_factor": 123,
"total_banners": 0,
"sort_by": "<string>",
"name": "<string>",
"slug": "<string>",
"url": "<string>",
"description": "<string>",
"external_url": "<string>",
"canonical_url": "<string>",
"order": 123,
"is_parent": true,
"url_path": "<string>",
"slug_path": "<string>",
"filters_values_ids": [
123
],
"category_cover": "<string>",
"created_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"meta": {
"pagination": {
"total": "10",
"count": "30",
"per_page": "10",
"current_page": "1",
"total_pages": "3",
"links": {
"previous": "",
"next": ""
}
}
}
}
]
}Lista as categorias do catálogo
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/catalog/categories \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"active": true,
"featured": true,
"name": "<string>",
"slug": "<string>",
"seo_title": "<string>",
"seo_keywords": "<string>",
"seo_description": "<string>",
"banners_ids": [
123
],
"external_url": "<string>",
"canonical_url": "<string>"
}'{
"data": [
{
"id": 123,
"merchant_id": 123,
"parent_id": 123,
"active": true,
"featured": true,
"price_factor": 123,
"total_banners": 0,
"sort_by": "<string>",
"name": "<string>",
"slug": "<string>",
"url": "<string>",
"description": "<string>",
"external_url": "<string>",
"canonical_url": "<string>",
"order": 123,
"is_parent": true,
"url_path": "<string>",
"slug_path": "<string>",
"filters_values_ids": [
123
],
"category_cover": "<string>",
"created_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"meta": {
"pagination": {
"total": "10",
"count": "30",
"per_page": "10",
"current_page": "1",
"total_pages": "3",
"links": {
"previous": "",
"next": ""
}
}
}
}
]
}Alias da loja
Lista de categorias obtida com sucesso
Show child attributes
Was this page helpful?