saveAdminConfiguration

put

/ccadmin/v1/merchant/adminConfiguration

Save Admin Configuration. Saves the admin configurable properties and gets back the saved data.

Request

Supported Media Types
Body ()
Root Schema : saveAdminConfiguration_request
Type: object
Show Source
Example:
{
    "sortByPriceEnabled":true,
    "supportVersion1Catalogs":true,
    "allowedOriginMethods":{
        "https://somemoresecurehost":"GET",
        "https://someHost:9080":"GET,PUT,DELETE,POST,OPTIONS"
    },
    "sessionTimeout":15,
    "sortByPriceProductLimit":200000
}
Nested Schema : allowedOriginMethods
Type: object
Additional Properties Allowed
Show Source
Map of hostname (key) and the allowed http methods (values) for that host.
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : saveAdminConfiguration_response
Type: object
Show Source
Nested Schema : allowedOriginMethods
Type: object
Additional Properties Allowed
Show Source
Map of hostname (key) and the allowed http methods (values) for that host.
Example Response (application/json)
{
    "sortByPriceEnabled":true,
    "supportVersion1Catalogs":false,
    "allowedOriginMethods":{
        "https://somemoresecurehost":"GET",
        "https://someHost:9080":"GET,PUT,DELETE,POST,OPTIONS"
    },
    "sessionTimeout":15,
    "sortByPriceProductLimit":20000
}

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| |------------------|------------------| |96009|A problem occurred when saving the data.| |160023|An internal error occurred while processing input request.| |20145|Unable to disable v1 catalog support because there are un-deleted v1 catalogs in the system.|
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