Merchant API v1beta will be discontinued and shut down on February 28, 2026. For steps to transition to the latest stable version, see Migrate from v1beta to v1.
CustomAttribute
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
Custom attributes are represented using JSON and require either a single value or a group of sub-attributes.
The JSON structure includes fields for "groupValues," representing sub-attributes, "name" for the attribute's name, and "value" for a single attribute value.
When using "groupValues" to define sub-attributes, the "value" field must be empty, and vice-versa.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[],["The provided content describes a JSON structure for custom attributes. It details that each attribute must have a `name` and either a `value` (a string) or `groupValues` (an array of sub-attributes). If `value` is present, `groupValues` must be empty, and vice-versa. The `groupValues` field contains a list of `CustomAttribute` objects, which represent sub-attributes within an attribute group.\n"]]