updateGroup

put

/ccadmin/v1/hreflangGroups/{id}

Updates hreflang group.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : createGroup_request
Type: object
Show Source
Nested Schema : groupMembers
Type: array
The list of hreflang groups members
Show Source
Nested Schema : groupMemberObject
Type: object
Show Source
Example:
{
    "xDefault":false,
    "siteId":"siteB",
    "localeId":"14"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getGroup_response
Type: object
Show Source
Nested Schema : groupMembers
Type: array
The list of hreflang groups members
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "groupMembers":[
        {
            "xDefault":false,
            "repositoryId":"siteB:14",
            "siteId":"siteB",
            "localeId":"14"
        },
        {
            "xDefault":true,
            "repositoryId":"siteB:16",
            "siteId":"siteB",
            "localeId":"16"
        }
    ],
    "groupName":"Test group 2",
    "repositoryId":"200002",
    "id":"200002"
}

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| |------------------|------------------| |183100|Cannot modify hreflang groups because a publish is currently in progress.| |183101|Unexpected error returned processing hreflang groups.| |183104|Group with name ''{0}'' already exists.| |183105|Error parsing input request.| |183106|No default site-language combination has been selected.| |183107|There can be only one default site-language combination.| |183108|Site {0} does not exist.| |183109|Locale {0} does not exist.| |183110|Site ID cannot be empty.| |183111|Locale ID cannot be empty.| |183112|Group name cannot be empty.| |183113|Locale ''{0}'' is not associated with site ''{1}''.| |183114|Locale ''{0}'' and site ''{1}'' is already associated with an existing group.| |183115|Multiple references of locale ''{0}''.| |183116|Group ''{0}'' does not exist.| |
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