Retrieve single reason

You can fetch a single reason

 

Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization
id number Yes The unique identifier of the reason

Example Request & Response


$ curl https://api.custerem.com/<org_id>/reasons/<id>/ \
-X GET \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \


 

200 OK

{
    "reason": {
        "id": 6,
        "text": "Too expensive"
    }
}

 

404 Not Found

{
    "status_code": 404,
    "message": "Reason with id 50 not found"
}