Triple API and Webhooks
Rewards
Update the status of a Reward
1min
PATCH
https://api.tripleup.dev/partner/rewards/{id}
triple Prod
Path Parameters
id
string
*
Body Parameters
body
object
status
object
*
rejection
string<PURCHASE_AMOUNT_TOO_LOW | ACTIVATION_REQUIRED | MAX_USES_MET | MAX_REWARD_MET | DAY_OF_WEEK_RESTRICTION | TIME_OF_WEEK_RESTRICTION | EXCLUDED_DATE | NON_PARTICIPATING_LOCATION | OFFER_FILTER | OTHER>
notes
string
notification
boolean
Responses
200
The reward resulting from a matched offer and transaction.
object
amount
number
currency_code
string
notes
string
offer_id
string
*
rejection
string<PURCHASE_AMOUNT_TOO_LOW | ACTIVATION_REQUIRED | MAX_USES_MET | MAX_REWARD_MET | DAY_OF_WEEK_RESTRICTION | TIME_OF_WEEK_RESTRICTION | EXCLUDED_DATE | NON_PARTICIPATING_LOCATION | OTHER>
reward_id
string
*
status
object
*
status_updated_at
string<date-time>
*
400
TripleBadRequestError
object
status_code
integer
*
content
object
*
403
TripleNotAuthenticatedError
object
status_code
integer
*
content
object
*
404
TripleInvalidPathError
object
status_code
integer
*
content
object
*
409
TripleIntegrityError
object
status_code
integer
*
content
object
*
415
TripleUnsupportedMediaType
object
status_code
integer
*
content
object
*
422
TripleUnprocessableEntity
object
status_code
integer
*
content
object
*
500
TripleInternalServerError
object
status_code
integer
*
content
object
*
501
TripleNotImplementedError
object
status_code
integer
*
content
object
*
503
TripleServiceUnavailable
object
status_code
integer
*
content
object
*
Updated 26 Jun 2024
Did this page help you?