Difference between revisions of "NATS5 REST API Reward PATCH reward"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_api_admin_section = true }} == '''PATCH /reward/reward''' == '''Description''' * Edit reward '''Resource URL''' *<nowiki>http://domain/api/reward/rewar...") |
(No difference)
|
Revision as of 10:48, 19 April 2019
PATCH /reward/reward
Description
- Edit reward
Resource URL
- http://domain/api/reward/reward
- Replace domain with the nats domain
- PATCH
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- rewardid
- type: digit
- required
- name
- type: string
- optional
- reward_category_id
- type: digit
- optional
- description
- type: string
- optional
- cost
- type: digit
- optional
- url
- type: string
- optional