curl --request GET \
--url https://api.example.com/sales/:id{
"error": true,
"data": [
{
"idSales": "<string>",
"idSalesDetails": "<string>",
"clientsId": "<string>",
"clientsName": "<string>",
"idProduct": "<string>",
"nameProduct": "<string>",
"quantity": 123,
"price": "<string>",
"total": "<string>"
}
]
}Retrieve a specific sale with all product details
curl --request GET \
--url https://api.example.com/sales/:id{
"error": true,
"data": [
{
"idSales": "<string>",
"idSalesDetails": "<string>",
"clientsId": "<string>",
"clientsName": "<string>",
"idProduct": "<string>",
"nameProduct": "<string>",
"quantity": 123,
"price": "<string>",
"total": "<string>"
}
]
}This endpoint returns detailed information about a specific sale order, including all products purchased, client information, and pricing details.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/andreguti9190/Sistema-de-gestion-de-ventas--Nodejs/llms.txt
Use this file to discover all available pages before exploring further.
Show data properties
{
"error": false,
"data": [
{
"idSales": "4e42fc03-edf3-4212-afb5-47e9ae8400a4",
"idSalesDetails": "1b71fff6-ca67-424d-a391-f14b0a63d8ec",
"clientsId": "036c71c5-14e0-11f1-9fcd-2418c6c96a00",
"clientsName": "Mark Zuckemberg",
"idProduct": "1eeeaded-14e6-11f1-9fcd-2418c6c96a00",
"nameProduct": "Ptusas",
"quantity": 30,
"price": "1200.00",
"total": "36000.00"
},
{
"idSales": "4e42fc03-edf3-4212-afb5-47e9ae8400a4",
"idSalesDetails": "bc7ff6f2-d092-46fa-a893-71c860c2a69d",
"clientsId": "036c71c5-14e0-11f1-9fcd-2418c6c96a00",
"clientsName": "Mark Zuckemberg",
"idProduct": "2cfba483-14e6-11f1-9fcd-2418c6c96a00",
"nameProduct": "Pepsi",
"quantity": 50,
"price": "5000.00",
"total": "250000.00"
}
]
}
{
"error": true,
"msg": "id is invalid"
}
idSales valueidSalesDetails identifier