Set theme as the active agent theme.

post

/ccadmin/v1/themes/{id}/setAsAgentTheme

Set a particular theme as the active agent theme (as given by the supplied id).

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Returned when the operation succeeds.
Body ()
Root Schema : setAsAgentTheme_response
Type: object
Show Source
Example Response (application/json)
{
    "status":true
}

Default Response

The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
Error CodeDescriptionPossible Fix
70000Internal server error.See returned error messages for more information.
70004Theme does not exist.Ensure theme exists.
70021Theme retrieval failed.See returned error message for further information.
70028Error setting agent theme.See returned error message for further information.

The error response:
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