Get Complaint
GET
/admin/complaints/{id}
const url = 'http://localhost:9000/admin/complaints/example?limit=20&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/example?limit=20&offset=0'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Query Parameters
Section titled “Query Parameters ” limit
integer
offset
integer
order
string
fields
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
complaint
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
customer
object
order
object
product
object
Example generated
{ "complaint": { "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": [ {} ], "customer": {}, "order": {}, "product": {} }}