curl --request POST \
--url https://api.dooki.com.br/v2/{alias}/pricing/combos \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"active": true,
"accumulate": true,
"name": "Combo Verão 2025",
"products_ids": [
123456,
789012
],
"discount_type": "p",
"discount_value": 10,
"start_at": "2025-06-01 00:00:00",
"end_at": "2025-07-31 23:59:59"
}'
{
"id": 123,
"active": true,
"accumulate": true,
"name": "Combo test",
"description": "<string>",
"products_ids": [
123
],
"discount_type": "p",
"discount_value": 10,
"expired": true,
"total_products": 123,
"start_at": {
"date": "2023-11-07T05:31:56Z",
"timezone_type": 123,
"timezone": "<string>"
},
"end_at": {
"date": "2023-11-07T05:31:56Z",
"timezone_type": 123,
"timezone": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Cria um novo combo de produtos
curl --request POST \
--url https://api.dooki.com.br/v2/{alias}/pricing/combos \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"active": true,
"accumulate": true,
"name": "Combo Verão 2025",
"products_ids": [
123456,
789012
],
"discount_type": "p",
"discount_value": 10,
"start_at": "2025-06-01 00:00:00",
"end_at": "2025-07-31 23:59:59"
}'
{
"id": 123,
"active": true,
"accumulate": true,
"name": "Combo test",
"description": "<string>",
"products_ids": [
123
],
"discount_type": "p",
"discount_value": 10,
"expired": true,
"total_products": 123,
"start_at": {
"date": "2023-11-07T05:31:56Z",
"timezone_type": 123,
"timezone": "<string>"
},
"end_at": {
"date": "2023-11-07T05:31:56Z",
"timezone_type": 123,
"timezone": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Alias da loja
Dados para criação ou atualização de um combo de produtos
Combo de produtos criado com sucesso
Was this page helpful?