Response
Lista de coleções retornada com sucesso
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/catalog/products/{id}/collections \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'{
"data": [
{
"id": 123,
"parent_id": 123,
"active": true,
"show_banners": true,
"featured": true,
"is_promotional": true,
"name": "<string>",
"visible_products": 123,
"home": true,
"expired": true,
"slug": "<string>",
"description": "<string>",
"seo_title": "<string>",
"seo_keywords": "<string>",
"seo_description": "<string>",
"path": "<string>",
"expire_in": "<string>",
"total_products": 123,
"restriced": true,
"url": "<string>",
"stopwatch": "<string>",
"stopwatch_expires_in": "<string>",
"start_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"end_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"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"
}
}
]
}Retorna uma lista de coleções às quais um produto específico pertence
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/catalog/products/{id}/collections \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'{
"data": [
{
"id": 123,
"parent_id": 123,
"active": true,
"show_banners": true,
"featured": true,
"is_promotional": true,
"name": "<string>",
"visible_products": 123,
"home": true,
"expired": true,
"slug": "<string>",
"description": "<string>",
"seo_title": "<string>",
"seo_keywords": "<string>",
"seo_description": "<string>",
"path": "<string>",
"expire_in": "<string>",
"total_products": 123,
"restriced": true,
"url": "<string>",
"stopwatch": "<string>",
"stopwatch_expires_in": "<string>",
"start_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"end_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"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"
}
}
]
}Lista de coleções retornada com sucesso
Show child attributes
Was this page helpful?