APIReferenciaReclamos
Obtener el detalle de un reclamo
Devuelve el detalle completo de un reclamo, incluyendo los datos del consumidor, la respuesta oficial, el estado de las entregas por correo, los archivos adjuntos y el historial de eventos.
Requiere el permiso complaints.view. El reclamo debe pertenecer a la
organización del API key y a una tienda accesible por el miembro; en
caso contrario se responde 404 (no se revela la existencia del recurso).
Authorization
ApiKeyAuth AuthorizationBearer <token>
API key personal con el prefijo or_, enviada como
Authorization: Bearer or_xxxxxxxx.
Se genera desde Dashboard → Mi cuenta → API key. La clave solo se muestra una vez: en la base de datos se guarda únicamente su hash SHA-256.
In: header
Path Parameters
id*string
UUID del reclamo.
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/complaints/0192f3a0-9c5b-7b3e-8f1a-2c4d5e6f7a8b"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "correlative": "string", "trackingCode": "string", "type": "claim", "status": "open", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "store": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "reason": "string", "consumer": { "personType": "natural", "firstName": "string", "lastName": "string", "legalName": "string", "legalTaxId": "string", "documentType": "DNI", "documentNumber": "string", "isMinor": true, "guardian": null, "email": "[email protected]", "dialCode": "string", "phone": "string", "address": "string" }, "claim": { "itemType": "product", "itemDescription": "string", "currency": "PEN", "amount": "string", "hasProofOfPayment": true, "proofOfPaymentType": "FACTURA", "proofOfPaymentNumber": "string", "incidentDate": "2019-08-24T14:15:22Z", "description": "string", "request": "string" }, "response": { "officialResponse": "string", "respondedAt": "2019-08-24T14:15:22Z", "respondedBy": "string" }, "delivery": { "receipt": { "status": "queued", "sentAt": "2019-08-24T14:15:22Z" }, "response": { "status": "queued", "sentAt": "2019-08-24T14:15:22Z" } }, "deadline": { "days": 0, "date": "2019-08-24T14:15:22Z" }, "attachments": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fileName": "string", "contentType": "string" } ], "history": [ { "eventType": "string", "fromStatus": "string", "toStatus": "string", "publicNote": "string", "performedByRole": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}