Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
A unique reward ID.
"rew_2erjvECLs92GYzKbak3QkyTV"
Response
Returns a reward object if a valid identifier was provided.
Unique reward ID, assigned by Voucherify.
"rew_nIy4gHpQHle2c3pNMwuj7G6j"
Reward name.
Configurable for material rewards. The number of units of the product that you want to share as a reward. Use this parameter to code a stock-taking logic.
Defines the number of already invoked (successful) reward redemptions.
The metadata object stores all custom attributes assigned to the reward. A set of key/value pairs that you can attach to a reward object. It can be useful for storing additional information about the reward in a structured format.
Reward type.
CAMPAIGN
, COIN
, MATERIAL
Timestamp representing the date and time when the reward was created. The value is shown in the ISO 8601 format.
"2022-08-11T14:49:22.586Z"
Timestamp representing the date and time when the reward was updated. The value is shown in the ISO 8601 format.
"2022-08-11T16:01:34.885Z"
The type of the object represented by the JSON. This object stores information about the reward.
reward
These properties are configurable for material rewards.
Defines how the reward is generated.
- Digital
- Pay with Points
- Material