Account attribute
Attribute type id | Type specific restriction parameters |
---|---|
string | clientSpecificListOfValues: 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();
Updated over 1 year ago