Rewards/Rule sets/Id
/rewards/rule-sets/:id
This endpoint allows you to update an existing reward rule set by providing the necessary details.
Request Body
Response
The response for this request is an empty array with a 200 HTTP Code
PUT
/rewards/rule-sets/{id}
Authorization
Authorization
RequiredBearer <token>In: header
Request Body
application/json
OptionalPath Parameters
id
RequiredstringResponse Body
Successful response
curl -X PUT "https://api.nodiref.com/rewards/rule-sets/9ec74145-51b5-492b-97bf-9a51f5b05f2d" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"name": "Test Iván Update",
"description": "Test Iván Update Desc",
"is_active": false,
"starts_at": "2025-01-01",
"ends_at": "2025-12-31"
}'
Empty