Account attribute

Attribute type idType specific restriction parameters
stringclientSpecificListOfValues: specifies predefined list of values for attribute. For account attribute itโ€™s accountList.

๐Ÿ“˜

Account attribute is a special attribute. It will be automatically populated with the list of accounts defined for the channel.

Only one attribute can be set as a account identifier. This is the attribute that links product to a specific account. Read more about accounts here: Channel processes | Accounts. This attribute should be attached to root category so itโ€™s always available.

๐Ÿšง

Only one attribute can be set as a account identifier. This is the attribute that links product to a specific account.

This attribute should be attached to root category so itโ€™s always available.

Code Examples:

{
  "id" : "ACCOUNT",
  "name" : "Account identifier",
  "type" : {
    "id" : "string",
    "restriction" : {
      "parameters" : {
        "clientSpecificListOfValues" : "accountList"
      }
    }
  }
}
Attribute accountAttribute = AttributeBuilder
        .accountAttribute("ACCOUNT", "Account identifier")
        .build();