Get authorized countries

Get authorized billing countries for a given site

get

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
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"
        }
      ]
    }
  ]
}

Get authorized shipping countries for a given site

get

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
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