Referência da API
- Introdução
- Autenticação
- Catálogo
- Checkout
- Configurações
- Conteúdo
- Clientes
- Leads
- Logística
- Marketing
- Pedidos
- Sistema
- Promoções
- Promoção
- Combos
- Frete grátis
- Desconto progressivo
- Cupons de desconto
- Upsells
- Filas
- Usuários
- Webhooks
- Loja Virtual
Promoção
Listar produtos da promoção
Obtém a lista de produtos associados a uma promoção específica
GET
/
{alias}
/
pricing
/
promotions
/
{id}
/
products
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/pricing/promotions/{id}/products \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"data": [
{
"id": 123,
"merchant_id": 123,
"seller_id": 123,
"affiliation_id": 123,
"erp_id": 123,
"relevance": 123,
"active": true,
"gift_value": "<string>",
"searchable": true,
"simple": true,
"ncm": "<string>",
"has_variations": true,
"is_digital": true,
"warranty": 123,
"custom_shipping": true,
"shipping_price": "<string>",
"name": "<string>",
"slug": "<string>",
"sku": "<string>",
"rating": 123,
"priority": 123,
"url": "<string>",
"redirect_url_card": "<string>",
"redirect_url_billet": "<string>",
"preview_url": "<string>"
}
],
"meta": {
"pagination": {
"total": "10",
"count": "30",
"per_page": "10",
"current_page": "1",
"total_pages": "3",
"links": {
"previous": "",
"next": ""
}
}
}
}
Response
200
application/json
Lista de produtos da promoção
Representa uma paginação com meta
Was this page helpful?
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/pricing/promotions/{id}/products \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"data": [
{
"id": 123,
"merchant_id": 123,
"seller_id": 123,
"affiliation_id": 123,
"erp_id": 123,
"relevance": 123,
"active": true,
"gift_value": "<string>",
"searchable": true,
"simple": true,
"ncm": "<string>",
"has_variations": true,
"is_digital": true,
"warranty": 123,
"custom_shipping": true,
"shipping_price": "<string>",
"name": "<string>",
"slug": "<string>",
"sku": "<string>",
"rating": 123,
"priority": 123,
"url": "<string>",
"redirect_url_card": "<string>",
"redirect_url_billet": "<string>",
"preview_url": "<string>"
}
],
"meta": {
"pagination": {
"total": "10",
"count": "30",
"per_page": "10",
"current_page": "1",
"total_pages": "3",
"links": {
"previous": "",
"next": ""
}
}
}
}