saveAgentConfiguration

put

/ccadmin/v1/merchant/agentConfiguration

Save Agent Configuration. Saves the agent configurations and gets back the saved data.

Request

Supported Media Types
Body ()
Root Schema : saveAgentConfiguration_request
Type: object
Show Source
Example:
{
    "delegatedAdminAllowedThroughAgent":true,
    "allowedOriginMethods":{
        "https://somemoresecurehost":"GET",
        "https://someHost:9080":"GET,PUT,DELETE,POST,OPTIONS"
    },
    "orderApprovalsAllowedThroughAgent":true
}
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 : saveAgentConfiguration_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)
{
    "delegatedAdminAllowedThroughAgent":true,
    "allowedOriginMethods":{
        "https://somemoresecurehost":"GET",
        "https://someHost:9080":"GET,PUT,DELETE,POST,OPTIONS"
    },
    "orderApprovalsAllowedThroughAgent":true
}

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.| |160022|Invalid input value(s) supplied. Value must be (true/false).|
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