updateASASettings

put

/ccadmin/v1/merchant/assistedSellingSettings

Update ASASettings. Updates Assisted Selling Settings. **Requires the x-ccasset-language header so translated content can be set for a specific language.**

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : updateASASettings_request
Type: object
Show Source
Example:
{
    "backgroundImagePath":"/general/sample_background.jpg",
    "dashboardPromotionalText":"ASA Promo Text",
    "isInternalCustomPropertiesDisplayEnabled":true,
    "isExternalCustomPropertiesDisplayEnabled":false,
    "companyLogoPath":"/general/sample_logo.jpg",
    "collectionForFeaturedProductsId":"cat40015",
    "heroImagePath":"/general/sample_hero.jpg"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateASASettings_response
Type: object
Show Source
Nested Schema : dashboardSettings
Type: object
ASA Dashboard Settings
Show Source
Nested Schema : settings
Type: object
ASA Settings
Show Source
Nested Schema : heroImage
Type: object
Hero Image Path and URL
Show Source
Nested Schema : backgroundImage
Type: object
Background Image Path and URL
Show Source
Example Response (application/json)
{
    "settings":{
        "companyLogo":{
            "path":"/general/companyLogo.jpg",
            "url":"http://localhost:9080/file/general/companyLogo.jpg"
        },
        "backgroundImage":{
            "path":"/general/backgroundImage.jpg",
            "url":"http://localhost:9080/file/general/backgroundImage.jpg"
        }
    },
    "isInternalCustomPropertiesDisplayEnabled":true,
    "isInternalProfilePropertiesDisplayEnabled":true,
    "isExternalCustomPropertiesDisplayEnabled":false,
    "dashboardSettings":{
        "dashboardPromotionalText":"Sample promo Text",
        "heroImage":{
            "path":"/general/heroImage.jpg",
            "url":"http://localhost:9080/file/general/heroImage.jpg"
        },
        "collectionForFeaturedProductsId":"cat80051"
    },
    "isExternalProfilePropertiesDisplayEnabled":false
}

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