POST /errors.json

POST /errors.json
application/json

Body Required

Responses

POST /errors.json
curl \
 -X POST http://api.example.com/v1/errors.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"entryId":"string","message":"string","problem":{},"purchaseId":42,"purchaseInvoiceId":42,"resolved":false,"stackTrace":"string","status":"error","variantId":42}'
Request example
{
  "entryId": "string",
  "message": "string",
  "problem": {},
  "purchaseId": 42,
  "purchaseInvoiceId": 42,
  "resolved": false,
  "stackTrace": "string",
  "status": "error",
  "variantId": 42
}
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "entryId": "string",
  "id": 42,
  "message": "string",
  "problem": {},
  "purchaseId": 42,
  "purchaseInvoiceId": 42,
  "resolved": false,
  "stackTrace": "string",
  "status": "error",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "variantId": 42
}