doUpdateExtensionVariable

put

/ccadmin/v1/extensionEnvironmentVariables/{id}

Update extension server variable. Updates a given extension variable by id.

Request

Supported Media Types
Path Parameters
  • ID of the extension server variable to be updated.
Body ()
Root Schema : doUpdateExtensionVariable_request
Type: object
Show Source
Example:
{
    "firstName":"atg.webhook.calculateShipping",
    "lastName":"pDDdn/kzVbGGyULkBmbuLBkor+GCyJ1Bi7xtqirulM4vSQj2hc+sNZEzBTMTo7j6sxl1gxR6vtoPtC8g0vVuvg=="
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : doUpdateExtensionVariable_response
Type: object
Show Source
Nested Schema : createdBy
Type: object
extension variable created by which admin user.
Show Source
Example Response (application/json)
{
    "creationTime":"2018-06-14T20:29:38.000Z",
    "createdBy":{
        "firstName":"Admin",
        "lastName":"User",
        "repositoryId":"admin",
        "id":"admin"
    },
    "modificationTime":"2018-06-15T15:55:24.442Z",
    "lastModifiedBy":"admin",
    "name":"atg.webhook.calculateShipping10",
    "id":"100001",
    "value":"pDDdn/kzVbGGyULkBmbuLBkor+GCyJ1Bi7xtqirulM4vSQj2hc+sNZEzBTMTo7j6sxl1gxR6vtoPtC8g0vVuvg=="
}

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