An instance of a custom attribute. Custom attributes can be defined and
added to ITEM
and ITEM_VARIATION
type catalog objects.
Read more about custom attributes.
Catalog Custom Attribute Value
Name | Type | Tags | Description |
---|---|---|---|
name |
string |
Optional | The name of the custom attribute. |
string_value |
string |
Optional | The string value of the custom attribute. Populated if type = STRING . |
custom_attribute_definition_id |
string |
Optional | Read-only. The id of the CatalogCustomAttributeDefinition this value belongs to. |
type |
str (Catalog Custom Attribute Definition Type) |
Optional | Defines the possible types for a custom attribute. |
number_value |
string |
Optional | Populated if type = NUMBER . Contains a stringrepresentation of a decimal number, using a . as the decimal separator. |
boolean_value |
bool |
Optional | A true or false value. Populated if type = BOOLEAN . |
selection_uid_values |
List of string |
Optional | One or more choices from allowed_selections . Populated if type = SELECTION . |
key |
string |
Optional | Read-only. A copy of key from the associated CatalogCustomAttributeDefinition . |
{
"name": "name0",
"string_value": "string_value4",
"custom_attribute_definition_id": "custom_attribute_definition_id2",
"type": "NUMBER",
"number_value": "number_value0"
}