getASASettings

get

/ccadmin/v1/merchant/assistedSellingSettings

Get ASASettings. Returns all Assisted Selling Settings. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
  • application/json
Header Parameters
X-CCAsset-Language
Type: string
The asset language of the request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getASASettings_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":false,
        "isExternalCustomPropertiesDisplayEnabled":true
    },
    "dashboardSettings":{
        "dashboardPromotionalText":"Sample promo Text",
        "heroImage":{
            "path":"/general/heroImage.jpg",
            "url":"http://localhost:9080/file/general/heroImage.jpg"
        },
        "collectionForFeaturedProductsId":"cat80051"
    }
}
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 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": false,
    "isExternalCustomPropertiesDisplayEnabled": true
  },
  "dashboardSettings": {
    "dashboardPromotionalText": "Sample promo Text",
    "heroImage": {
      "path": "/general/heroImage.jpg",
      "url": "http://localhost:9080/file/general/heroImage.jpg"
    },
    "collectionForFeaturedProductsId": "cat80051"
  }
}