id_venta and includes a full detalles breakdown of returned products. All requests must include your API key in the Authorization header.
GET /returns
Returns a paginated list of sales return records. Filter by date range to scope the results to a specific period. Each record includes header-level return information and adetalles array of the individual products that were returned.
Query parameters
Start date for filtering returns, in
Y-m-d format (e.g. 2025-01-01). Use together with fecha_fin to define a date range.End date for filtering returns, in
Y-m-d format (e.g. 2025-01-31). Use together with fecha_inicio to define a date range.Response example
Response fields
GET /returns/{id}
Retrieves a single return record by its numeric ID. The response returns the same full Return object described above, including thedetalles array of returned line items.
Path parameter
data key with "success": true. All fields, including detalles, are identical to the structure documented in the GET /returns response above.
GET /returns/summary
Returns aggregate statistics for your return activity over an optional date range. Use this endpoint to measure the volume and value of merchandise being returned, identify high-return periods, and quantify the financial impact of returns on your revenue.Query parameters
Start date for the summary period, in
Y-m-d format. Omit to include all return records from the beginning.End date for the summary period, in
Y-m-d format. Omit to include all records up to the current date.