Products
Performs products analysis by comparing two distinct periods, providing insights into products performance trends over time.
post
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Corpo
typestring · enumOpcionalValores possíveis:
Respostas
200
OK
*/*
404
Sale was not found
*/*
500
An internal server error was thrown
*/*
post
/home/productsPOST /api/sales/home/products HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 159
{
"period": {
"start_date": "2025-11-14",
"final_date": "2025-11-14"
},
"period_before": {
"start_date": "2025-11-14",
"final_date": "2025-11-14"
},
"type": "HIGHER_QUANTITY"
}[
{
"product_id": "text",
"product_name": "text",
"value": 1,
"rate": 1
}
]