Update a body end page tag.

put

/ccadmin/v1/sites/{siteId}/bodyEndTags/{tagId}

Update a page tag at the end of the body section of the specified site.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : updatePageTag_request
Type: object
Show Source
Example:
{
    "name":"taya tag",
    "id":"8571b3a7-0a74-4516-978c-5090f31d8faf",
    "enabled":true,
    "content":"<script type='text/javascript' src='https//some.other.service.com/taya.js'></script>",
    "order":2
}
Back to Top

Response

Supported Media Types

200 Response

The following model is returned when operation succeeds.
Body ()
Root Schema : pageTag_response
Type: object
Show Source
Example Response (application/json)
{
    "name":"taya tag",
    "id":"8571b3a7-0a74-4516-978c-5090f31d8faf",
    "enabled":true,
    "content":"",
    "order":2
}

412 Response

ETag mismatch. Asset has been updated by another user.

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| |------------------|------------------| |52900|The page tag repository was not initialized.| |529010|The site ID in the path is invalid.| |52902|Missing input.| |52907|Invalid tag ID.| |52910|Invalid Site ID.| |52905|An internal error occurred while updating this page tag.| |52909|Invalid section.| |52908|Invalid name.| |52911|Invalid content.
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