Get a Specific Prize Request
This endpoint retrieves a specific request for a loyalty prize
info
This operation requires authentication to see own request and admin or editor to see all requests.
HTTP Request
GET /api/v2/loyalty/request/{id}/
Parameters
| Name | In | Type | Required | Description | 
|---|---|---|---|---|
| id | path | string | true | A unique integer value identifying this request | 
Example Request
- JavaScript
- Bash
const headers = {
  'Accept':'application/json',
  'Authorization': 'Bearer {access_token}'
};
fetch('/api/v2/loyalty/request/{id}/',
{
  method: 'GET',
  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
# You can also use wget
curl -X GET /api/v2/loyalty/request/{id}/ \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access_token}'
Responses
| Status | Meaning | Description | Schema | 
|---|---|---|---|
| 200 | OK | Response status code | Loyalty Prize User | 
Example responses
- 200
{
  "id": "integer",
  "user": {User},
  "prize": {Prize},
  "prize_points": "integer",
  "pending_at": "string",
  "status": "integer",
  "status_description": "string"
}