curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/pricing/cashbacks \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'{
"data": [
{
"id": 123,
"store_id": 123,
"token": "<string>",
"active": true,
"name": "Exemplo de cashback",
"min_amount": 123,
"max_amount": 123,
"valid_for": 123,
"percent_amount": 123,
"has_expiration": true,
"starts_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"expires_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": ""
}
}
}
}Listar todos os Cashbacks cadastrados
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/pricing/cashbacks \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'{
"data": [
{
"id": 123,
"store_id": 123,
"token": "<string>",
"active": true,
"name": "Exemplo de cashback",
"min_amount": 123,
"max_amount": 123,
"valid_for": 123,
"percent_amount": 123,
"has_expiration": true,
"starts_at": {
"date": "2000-08-17 10:24:24",
"timezone_type": 3,
"timezone": "America/Sao_Paulo"
},
"expires_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": ""
}
}
}
}Alias da loja
Lista de Cashbacks
Representa uma paginação com meta
Show child attributes
"Exemplo de cashback"
Dias de validade
Percentual de cashback
Show child attributes
Show child attributes
"10"
"30"
"10"
"1"
"3"
Was this page helpful?