deleteCountries

post

/ccadmin/v1/countries/deleteCountries

Delete all the specified countries

Request

Supported Media Types
Body ()
Root Schema : deleteCountries_request
Type: object
Show Source
Example:
{
    "ids":[
        "IN",
        "LK"
    ]
}
Nested Schema : ids
Type: array
The list of country IDS to be deleted.
Show Source
Back to Top

Response

Supported Media Types

204 Response

Successful deletion with no response model.

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| |------------------|------------------| |19000|The country code is either invalid or not configured : {id}| |80060|Invalid input| |80062|Invalid input. {key} key must be specified with valid value| |80065|Delete operation unsuccessful. Countries {id} have references across repositories|
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