Get orders with incidents
POST/api/orders/incidents
Returns the merchant's orders that are currently in an incident (for example, recipient not available or wrong address), with their latest incident and the courier. Includes a summary: total orders in incident, distinct couriers and incident types, and the date of the most recent incident.
It is a query: it does not register incidents. The body is required, but its fields are optional: with {} it returns the first page (10 orders).
To see every incident of an order, use GET /api/orders/incidents/{ordersId}.
Request
Responses
- 200
- 400
- 401
- 500
Orders in incident retrieved
Invalid filter or pagination. Message format: Error en campo "<campo>": <motivo> (error in field "
The token is missing, expired (it lasts 15 minutes) or invalid. Log in again to get a new one.
Internal error