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
  • application/json
Header Parameters
X-CCAsset-Language
Type: string
Required: true
The asset language of the request
Body Parameter
Root Schema : updateASASettings_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateASASettings_response
Nested Schema : dashboardSettings
Type: object
ASA Dashboard Settings
Nested Schema : settings
Type: object
ASA Settings
Nested Schema : heroImage
Type: object
Hero Image Path and URL
Nested Schema : backgroundImage
Type: object
Background Image Path and URL
Example 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
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{
  "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"
}

Sample Response Payload returned by endpoint:

{
  "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
}