Retrieve current Agent version

get

/ccadmin/v1/jsframeworkadmin/agentVersion

Retrieves the version information for the Agent JavaScript framework. This endpoint can be used to check if a rollback or version upgrade is possible for the version of the Agent JavaScript framework currently in use.

Note: This endpoint is not supported in the Open Storefront Framework.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Returned when the operation succeeds.
Body ()
Root Schema : getAgentCurrentVersionDetails_200_response
Type: object
Show Source
Example Response (application/json)
{
    "currentAgentVersion":"20.2.3",
    "lastAgentUpdate":"2020-05-21T10:56:31.349Z",
    "previousAgentVersion":"",
    "success":true,
    "agentVersion":"20.2.3",
    "overrideAgentVersion":"",
    "links":[
        {
            "rel":"self",
            "href":"cadminui/v1/jsframeworkadmin/agentVersion"
        }
    ]
}

Default Response

The following internal error codes are thrown by this API when the request fails in Commerce:
Error CodeDescriptionPossible Fix
30105Site not found.Ensure you specify a valid site ID.
96026, 96027Configuration issue.See returned error messages for more 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