Get details for a specific Choice product
Use the following endpoint to return the details for a specific Choice Product on your Tango platform:
Function | Purpose |
---|---|
GET {URI}/choiceProducts/{utid} | Get details for a specific Choice Product. |
The following path parameter is required for this endpoint. UTID is Unique Tango ID {{utid}} for the item being ordered such as Gift Cards or nonprofit donations (NPO).
Path params | Data type | Description |
---|---|---|
utid | string | (Required) Specify the unique identifier of the Choice Product to be queried. |
The following payload example is returned with this endpoint:
{
"utid": "string",
"rewardName": "string",
"currencyCode": "string",
"countries": [
"string"
]
}
The following payload example shows the available details such as currency and country for a specific utid.
Note:
We accept AUD (🚧 coming soon), CAD, EUR, GBP, or USD. Only one currency can be specified. Currency can never be changed. The currency defaults to USD if no currency is specified.
{
"utid": "U431828",
"rewardName": "Global Choice Link (SV CAD)",
"currencyCode": "CAD",
"countries": [
"BE",
"TH",
"PL",
"BG",
"SE",
"US",
"BD",
"ID",
"ES",
"MY",
"GR",
"CZ",
"EG"
]
}
Here's an example payload for when you receive an error:
{
"timestamp": "2025-02-21T23:23:13.930Z",
"requestId": "string",
"path": "string",
"httpCode": 0,
"httpPhrase": "string",
"i18nKey": "string",
"message": "The error message will show here for error codes ",
"errors": [
{}
]
}
The possible response codes for this endpoint are:
- 200 OK
- 400 Bad request
- 401 Unauthorized
- 403 Forbidden
Updated 1 day ago