CustomAttribute

  • Custom attributes allow you to add specific details to your products with a maximum of 2500 attributes per merchant and a total size limit of 102.4kB.

  • Each custom attribute requires either a single value or a group of sub-attributes, but not both, and must not exceed 10240 characters.

  • Attributes are defined by a name and value or groupValues represented in JSON format, with underscores in names converted to spaces.

A message that represents custom attributes. Exactly one of value or groupValues must be provided. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per merchant, with total size of 102.4kB.

JSON representation
{
  "name": string,
  "value": string,
  "groupValues": [
    {
      object (CustomAttribute)
    }
  ]
}
Fields
name

string

The name of the attribute. Underscores will be replaced by spaces upon insertion.

value

string

The value of the attribute.

groupValues[]

object (CustomAttribute)

Subattributes within this attribute group. Exactly one of value or groupValues must be provided.