Banners
Listar categorias que o banner pertence
Referência da API
- Introdução
- Autenticação
- Catálogo
- Checkout
- Configurações
- Conteúdo
- Clientes
- Leads
- Logística
- Marketing
- Pedidos
- Sistema
- Promoções
- Filas
- Usuários
- Webhooks
Banners
Listar categorias que o banner pertence
Retorna uma lista com os dados das categorias que um banner específico pertence
GET
/
{alias}
/
marketing
/
banners
/
{id}
/
categories
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/marketing/banners/{id}/categories \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"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.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24.000000",
"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": ""
}
}
}
}
Response
200
application/json
Lista de categorias associadas ao banner
Representa uma paginação com meta
Was this page helpful?
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/marketing/banners/{id}/categories \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"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.000000",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"updated_at": {
"date": "2000-08-17 10:24:24.000000",
"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": ""
}
}
}
}