Retrieve list of products
GET/api/rewards/products
Retrieve a list of products. These should be presented to the user, as choices, when the latter claims their rewards.
Request
Header Parameters
Partner Id
Client Id
Client Secret
Responses
- 200
- 401
- 500
List of products to display to the user as choices for claiming the reward.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Name of the product
Available currencies for this product
List of countries in which this product is available to recipients.
Detailed description of the product.
Legal disclosures for this product. Can be in HTML format.
Possible values: [bank
, charities
, merchant_cards
, paypal
, visa
]
images
object[]
List of product images associated with this product (e.g. logos or images of the gift cards).
URL to this image
Type of image
[
{
"id": "string",
"name": "string",
"currencyCodes": [
"string"
],
"countries": [
"string"
],
"description": "string",
"disclosure": "string",
"category": "bank",
"images": [
{
"src": "string",
"type": "string"
}
]
}
]
Authorization error e.g. due to an invalid or missing API keys.
Error fetching products because of remote call issues. Other Internal errors. Possible error codes
-
INTERNAL_SERVER_ERROR
-
ERROR_FETCHING_REWARDS_PRODUCTS
- application/json
- Schema
- Example (from schema)
Schema
Error code
A verbose error message
{
"error_code": "string",
"error_message": "string"
}