Update the status of a Reward
1 min
PATCH
https://api.sandbox.tripleup.dev/partner/rewards/{id}
idobjectThe triple-defined ID for the entity.
bodyobject
200The reward resulting from a matched offer and transaction.
400TripleBadRequestError
403TripleNotAuthenticatedError
404TripleInvalidPathError
409TripleIntegrityError
415TripleUnsupportedMediaType
422TripleUnprocessableEntity
500TripleInternalServerError
501TripleNotImplementedError
503TripleServiceUnavailable
curl --request PATCH \
--url https://api.sandbox.tripleup.dev/partner/rewards/{id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"status": ""
}'Transitions a Reward from its current status to a new status.
Content Providers may only update rewards with a status of PENDING_MERCHANT_APPROVAL to DENIED_BY_MERCHANT or PENDING_MERCHANT_FUNDING.
When updating a reward to DENIED_BY_MERCHANT, the notes field must be populated with an explanation for the denial.
Publishers (and Portfolio Managers) may only update rewards with a status of DISTRIBUTED_TO_PUBLISHER to DISTRIBUTED_TO_CARDHOLDER.