API Documentation - Order Count
Endpoint
GET /order/count
Parameters
The following parameter must be included in the request:
Parameter | Type | Description | Required |
---|---|---|---|
guid | string | The GUID of the order to count items for | Yes |
Response
The response is a JSON object containing the following fields:
{
"success": "true or false",
"message": "Description of the response",
"result": {
"count": [
{
"article_dans_panier": "Number of items in the order"
}
]
}
}
Error Handling
If an error occurs, the response will contain the following fields:
{
"success": "false",
"message": "Error description"
}
Example Request
GET /order/count?guid=unique-guid-12345
Example Response
{
"success": true,
"message": "ORDERLINE List",
"result": {
"count": [
{
"article_dans_panier": 5
}
]
}
}