updateSelectedBillingCountries

put

/ccadmin/v1/merchant/billingCountries

Update Selected Billing Countries. Updates the available billing countries

Request

Supported Media Types
Body ()
Root Schema : updateSelectedBillingCountries_request
Type: object
Show Source
Example:
{
    "billingCountryRepositoryId":[
        "CA",
        "US"
    ],
    "siteId":"siteUS"
}
Nested Schema : billingCountryRepositoryId
Type: array
Repository ID of the Billing Country
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateSelectedBillingCountries_response
Type: object
Show Source
Nested Schema : items
Type: array
The updated list of all Billing Countries
Show Source
Nested Schema : items
Type: object
Show Source
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.| |34071|There is an error in updating the Billing Countries.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top