Get all available Choice products
Use the GET {URI}/choiceProducts
endpoint to get a list of the Choice Products in your Tango platform's catalog:
Function | Purpose |
---|---|
GET {URI}/choiceProducts | Get all available Choice products. |
Here are the query parameters for theGET {URI}/choiceProducts\
:
Parameter | Data type | Description |
---|---|---|
rewardName | string | Specify the reward name to be queried. |
currencyCode | string | Specify the currency code to be queried. |
countries | array of strings | Specify the list of countries to be queried. |
TheGET {URI}/choiceProducts
payload returns all available Choice Products in your Tango platform's catalog:
{
"choiceProducts": [
{
"utid": "string",
"rewardName": "string",
"currencyCode": "string",
"countries": [
"string"
]
}
]
}
The following payload is an example of Tango Choice products in a platform's catalog:
{
"choiceProducts": [
{
"utid": "U346020",
"rewardName": "Disbursement Link",
"currencyCode": "USD",
"status": "active",
"countries": [
"US"
],
},
{
"utid": "U088323",
"rewardName": "Promo Link",
"currencyCode": "USD",
"status": "active",
"countries": [
"US"
]
},
{
"utid": "U561593",
"rewardName": "Reward Link Preferred + Donations",
"currencyCode": "USD",
"status": "active",
"countries": [
"US"
]
}
]
}
The possible HTTP response status codes for this endpoint are:
- 200 OK
- 400 Bad request
- 401 Unauthorized
- 403 Forbidden
Updated 2 days ago