Rewards/Rule sets
/rewards/rule-sets
This endpoint allows you to create a new reward rule set by providing the necessary details.
Request Body
Response
The response for this request is an empty array with a 201 HTTP Code
POST
/rewards/rule-sets
Authorization
Authorization
RequiredBearer <token>In: header
Request Body
application/json
OptionalResponse Body
Successful response
curl -X POST "https://api.nodiref.com/rewards/rule-sets" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"name": "Empty Rule Set",
"description": "This is an empty ruleset",
"is_active": true
}'
Empty