updateStack

put

/ccadmin/v1/stacks/{id}

Update Stack. Update the settings of a stack

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : updateStack_request
Type: object
Show Source
Example:
{
    "stackConfig":{
        "notes":"The progress tracker stack",
        "name":"Progress Tracker Stack"
    }
}
Nested Schema : stackConfig
Type: object
Stack Configuration
Show Source
Nested Schema : settings
Type: object
Settings
Show Source
Nested Schema : styles
Type: object
Styles
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateStack_response
Type: object
Show Source
Nested Schema : descriptor
Type: object
The stack descriptor associated with the stack instance
Show Source
Nested Schema : pageTypes
Type: array
Page types that the stack descriptor can be used with
Show Source
Nested Schema : regions
Type: array
Stack step regions
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "nextButton":"Next",
    "previousButton":"Previous",
    "usingCodeView":false,
    "displayName":"Progress Tracker Stack",
    "repositoryId":"re100002",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/stacks/re100002"
        }
    ],
    "descriptor":{
        "isLatestVersion":true,
        "previousButton":"Previous",
        "regions":[
            {
                "repositoryId":"progressTrackerStageOne"
            },
            {
                "repositoryId":"progressTrackerStageTwo"
            },
            {
                "repositoryId":"progressTrackerStageThree"
            }
        ],
        "displayName":"Progress Tracker",
        "availableToAllPages":false,
        "minWidth":1,
        "version":1,
        "nextButton":"Next",
        "latestVersion":1,
        "repositoryId":"progressTracker",
        "id":"progressTracker",
        "pageTypes":[
            {
                "repositoryId":"checkoutPageType",
                "alias":"/checkout",
                "id":"checkoutPageType",
                "shortName":"checkout"
            }
        ],
        "stackType":"progressTracker",
        "configurable":true
    },
    "id":"re100002"
}

Default Response

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