listSelectedBillingCountries
get
/ccadmin/v1/merchant/billingCountries
List Selected Billing Countries. Lists the available billing countries
Request
Supported Media Types
- application/json
Query Parameters
- siteId
-
Type:
stringSite ID of the site- sortByCode
Type:booleanSort by Code: true or false- sortByOrder
Type:stringSort Order: asc or desc
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : listSelectedBillingCountries_response
- countriesList
-
Type:
arraycountriesListAdditional Properties Allowed:Regions List for all countries.
Nested Schema : countriesList
Nested Schema : items
Type:
object- countryCode
-
Type:
stringCountry Code of the Billing Country - displayName
-
Type:
stringDisplay Name of the Billing Country - regions
-
Type:
arrayregionsAdditional Properties Allowed:Regions list. - repositoryId
-
Type:
stringRepository ID of the Billing Country
Nested Schema : regions
Nested Schema : items
Type:
object- abbreviation
-
Type:
stringAbbreviation of the Billing region - displayName
-
Type:
stringDisplay Name of the Billing region - regionCode
-
Type:
stringCountry Code of the Billing region - repositoryId
-
Type:
stringRepository ID of the Billing region
Example application/json
[
{
"countryCode":"CA",
"displayName":"Canada",
"repositoryId":"CA"
},
{
"countryCode":"US",
"displayName":"United States",
"repositoryId":"US"
}
]
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|30011|Site id {0} does not exist.|
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
[
{
"countryCode": "CA",
"displayName": "Canada",
"repositoryId": "CA"
},
{
"countryCode": "US",
"displayName": "United States",
"repositoryId": "US"
}
]