Get authorized countries
Provide list of authorized billing countries by locale
For system access use case, use API key/secret in the Authorization header, the API key should be set up with sufficient role.
The site's ID.
Only return authorized billing countries specific to the given locale
The client identifier used to authorize the request. You must specify either an apiKey or token.
Successful response.
- API Key or user role is not allowed to access this site
- User has no sufficient privileges to access this resource
- Site not found
- Locale unsupported
GET /v1/sites/{siteId}/authorized-billing-countries HTTP/1.1
Host: api.digitalriver.com
Authorization: Basic username:password
Accept: */*
{
"authorizedBillingCountries": [
{
"locale": "en_US",
"countries": [
{
"displayName": "Taiwan",
"countryCode": "TW"
}
]
}
]
}Provide list of authorized billing countries by locale
For system access use case, use API key/secret in the Authorization header, the API key should be set up with sufficient role.
The site's ID.
Only return authorized shipping countries specific to the given locale
The client identifier used to authorize the request. You must specify either an apiKey or token.
Successful response.
- API Key or user role is not allowed to access this site
- User has no sufficient privileges to access this resource
- Site not found
- Locale unsupported
GET /v1/sites/{siteId}/authorized-shipping-countries HTTP/1.1
Host: api.digitalriver.com
Authorization: Basic username:password
Accept: */*
{
"authorizedShippingCountries": [
{
"locale": "en_US",
"countries": [
{
"displayName": "Taiwan",
"countryCode": "TW"
}
]
}
]
}Last updated
