Rewards/Triggers/Id
/rewards/triggers/:id
This endpoint allows you to update an existing reward trigger by providing the necessary details.
Request Body
Response
The response for this request is an empty array with a 200 HTTP Code
PUT
/rewards/triggers/{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/triggers/9ebf2527-ec9d-464f-bb3a-67e74390245e" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"reward_rule_set_id": "9ebf2161-3a22-4ae7-92e2-ca32fa668b9a",
"trigger_type": "subscription"
}'
Empty