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
- Loja Virtual
Banners
Listar banners
Listar os banners do marketing
GET
/
{alias}
/
marketing
/
banners
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/marketing/banners \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"data": [
{
"id": 123,
"product_id": 123,
"active": true,
"type": "<string>",
"name": "<string>",
"slug": "<string>",
"link": "<string>",
"expired": true,
"image_url": "<string>",
"mobile_image_url": "<string>",
"home": true,
"stopwatch": "<string>",
"stopwatch_expires_in": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"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"
},
"meta": {
"pagination": {
"total": "10",
"count": "30",
"per_page": "10",
"current_page": "1",
"total_pages": "3",
"links": {
"previous": "",
"next": ""
}
}
}
}
]
}
Path Parameters
Alias da loja
Response
200
application/json
Lista de banners
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/marketing/banners \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"data": [
{
"id": 123,
"product_id": 123,
"active": true,
"type": "<string>",
"name": "<string>",
"slug": "<string>",
"link": "<string>",
"expired": true,
"image_url": "<string>",
"mobile_image_url": "<string>",
"home": true,
"stopwatch": "<string>",
"stopwatch_expires_in": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"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"
},
"meta": {
"pagination": {
"total": "10",
"count": "30",
"per_page": "10",
"current_page": "1",
"total_pages": "3",
"links": {
"previous": "",
"next": ""
}
}
}
}
]
}