Countries
GET {{claim_api_host}}/countries?product_id=12
A list of countries.
Example Response:
[
{
"name": "United States",
"value": "US"
}
]
Note: This is typically returned as a remoteOptionUrl to populate a select input in the Questions endpoint.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
product_id | number | Optional. Limit the result to countries the product is offered. |
RESPONSES
status: OK
[{"name":"United States","value":"US"}]