listSelectedBillingCountries
get
/ccadmin/v1/merchant/billingCountries
List Selected Billing Countries. Lists the available billing countries
Request
Supported Media Types
- application/json
Query Parameters
-
siteId(optional): string
Site ID of the site
-
sortByCode(optional): boolean
Sort by Code: true or false
-
sortByOrder(optional): string
Sort Order: asc or desc
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listSelectedBillingCountries_response
Type:
Show Source
object
-
countriesList(optional):
array countriesList
Regions List for all countries.
Nested Schema : items
Type:
Show Source
object
-
countryCode(optional):
string
Country Code of the Billing Country
-
displayName(optional):
string
Display Name of the Billing Country
-
regions(optional):
array regions
Regions list.
-
repositoryId(optional):
string
Repository ID of the Billing Country
Nested Schema : items
Type:
Show Source
object
-
abbreviation(optional):
string
Abbreviation of the Billing region
-
displayName(optional):
string
Display Name of the Billing region
-
regionCode(optional):
string
Country Code of the Billing region
-
repositoryId(optional):
string
Repository ID of the Billing region
Example Response (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.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code