List Complaints
GET
/admin/complaints
const url = 'http://localhost:9000/admin/complaints?limit=15&offset=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:9000/admin/complaints?limit=15&offset=0'Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” limit
integer
offset
integer
order
string
fields
string
customer_id
string
order_id
string
product_id
string
stock_lot_id
string
serial_number_id
string
status
string
q
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
complaints
Array<object>
object
id
string
number
integer
status
string
description
string
created_at
string format: date-time
updated_at
string format: date-time
customer_id
string
order_id
string
product_id
string
stock_lot_id
string
serial_number_id
string
tags
Array<object>
object
count
integer
limit
integer
offset
integer
Example generated
{ "complaints": [ { "id": "example", "number": 1, "status": "example", "description": "example", "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z", "customer_id": "example", "order_id": "example", "product_id": "example", "stock_lot_id": "example", "serial_number_id": "example", "tags": [ {} ] } ], "count": 1, "limit": 1, "offset": 1}