Get authorized countries
Provide list of authorized billing countries by locale
Authorizations
Path parameters
siteIdstringRequired
The site's ID.
Query parameters
localestringOptional
Only return authorized billing countries specific to the given locale
apiKeystringOptional
The client identifier used to authorize the request. You must specify either an apiKey
or token
.
Responses
200
Successful response.
application/json
400
* API Key or user role is not allowed to access this site
application/json
401
* User has no sufficient privileges to access this resource
application/json
404
* Site not found
application/json
409
* Locale unsupported
application/json
get
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
Authorizations
Path parameters
siteIdstringRequired
The site's ID.
Query parameters
localestringOptional
Only return authorized shipping countries specific to the given locale
apiKeystringOptional
The client identifier used to authorize the request. You must specify either an apiKey
or token
.
Responses
200
Successful response.
application/json
400
* API Key or user role is not allowed to access this site
application/json
401
* User has no sufficient privileges to access this resource
application/json
404
* Site not found
application/json
409
* Locale unsupported
application/json
get
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