Compile theme for asset.

post

/ccadmin/v1/themes/compile

Compiles a theme for an asset.

Request

Supported Media Types
Body ()
Root Schema : compileThemeForAsset_request
Type: object
Show Source
Example:
{
    "changeContext":"designStudioItem",
    "assetId":"homePageLayout",
    "assetType":"pageLayout"
}
Back to Top

Response

Supported Media Types

200 Response

Returned when the operation succeeds.
Body ()
Root Schema : compileThemeForAsset_response
Show Source
Example Response (application/json)
{
}

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.
32006Error updating layout.See returned error messages for more information.
70012Error getting active theme.See returned error message for further information.
70029No active theme for site.Set an active theme.
30014Site does not exist.See returned error message for further information.
70004Theme does not exist.See returned error message for further information.
70025Less compile error.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