Rewards
Get Reward
Retrieve a reward by the reward ID.
get/v1/rewards/{rewardId}
Request
- Base URLhttps://api.voucherify.io
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or OAuth 2Implicithttps://api.voucherify.io/v1/oauth/tokenScopesapi, rewards
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Returns a reward object if a valid identifier was provided.
Example response
{
"id": "rew_nIy4gHpQHle2c3pNMwuj7G6j",
"parameters": {
"product": {
"id": "prod_0b7d7dfb05cbe5c616",
"sku_id": "sku_0b7d7dfb090be5c619"
}
},
"created_at": "2022-08-11T14:49:22.586Z",
"updated_at": "2022-08-11T16:01:34.885Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.