Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.28 KB

catalog-custom-attribute-definition-selection-config.md

File metadata and controls

38 lines (29 loc) · 1.28 KB

Catalog Custom Attribute Definition Selection Config

Configuration associated with SELECTION-type custom attribute definitions.

Structure

Catalog Custom Attribute Definition Selection Config

Fields

Name Type Tags Description
max_allowed_selections int Optional The maximum number of selections that can be set. The maximum value for this
attribute is 100. The default value is 1. The value can be modified, but changing the value will not
affect existing custom attribute values on objects. Clients need to
handle custom attributes with more selected values than allowed by this limit.
Constraints: <= 100
allowed_selections List of Catalog Custom Attribute Definition Selection Config Custom Attribute Selection Optional The set of valid CatalogCustomAttributeSelections. Up to a maximum of 100
selections can be defined. Can be modified.

Example (as JSON)

{
  "max_allowed_selections": 86,
  "allowed_selections": [
    {
      "uid": "uid5",
      "name": "name5"
    },
    {
      "uid": "uid6",
      "name": "name6"
    },
    {
      "uid": "uid7",
      "name": "name7"
    }
  ]
}