Update Reward
PUT/v1/admin/clients/:clientID/rewards/:rewardID
Endpoint to update a Reward
Request
Path Parameters
clientID stringrequired
rewardID stringrequired
- application/json
Body
created object
date string
editorAuthId number
data object
data field can contain any JSON value. This field gives the request some flexibility.
themeId string
description string
lastModified object
date string
editorAuthId number
name string
type string
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
id uuid
created object
date date-time
editorAuthId number
data object
data field can contain any JSON value. This field gives the request some flexibility.
badgeUrl string
description string
lastModified object
date date-time
editorAuthId number
name string
type string
{
"id": "a5b703f7-089c-4b3f-ac55-36b688fada82",
"created": {
"date": "2023-09-21T18:35:26.234Z",
"editorAuthId": 1
},
"data": {
"badgeUrl": "https://media-cdn.incrowdsports.com/74140f6c-7eb8-420a-8162-02ae9312eac7.jpg"
},
"description": "Some test reward description",
"lastModified": {
"date": "2023-09-22T21:10:10.696Z",
"editorAuthId": 1
},
"name": "Some test reward name",
"type": "BADGE"
}
Loading...