Skip to main content
inputScxItemAttributeValueInput

Fields

id
ID

ID of the stored value the entry updates. Omit to create a new value; the value then needs a "ClientId". The ID must belong to the item and must not appear twice in the list.

clientId
String

Identifier the client chooses for an entry. It should carry a recognizable prefix such as "temp__"; the server does not check the prefix. Required for an entry without an "Id", optional for an entry with an "Id"; unique within the request, also across entries with and without an "Id", and never stored. The result returns it with the value of the entry, for a created value together with its new "Id".

attributeCode
String

Attribute code assigned by the marketplace. Required for a new value. For an existing value it must equal the stored code, which cannot be changed.

referenceGroup
Int

Number of the repetition group of a repeatable sub-section. A new value without a reference group gets group 0. For an existing value it must equal the stored group, which cannot be changed.

value
String

Value of the attribute as it is transmitted to the marketplace, or the template if "IsTemplate" is true. A blank value is rejected like an empty one; numbers, dates and flags are read in invariant notation and returned as stored. Omit to keep the stored value of an existing entry. Ignored for an entry with a file.

isTemplate
Boolean

Whether the value is a template written in Liquid syntax. Omit to keep the stored setting of an existing entry. Ignored for an entry with a file.

fileId
ID

ID of an already stored file for an attribute of type image or document; this API does not upload files; other attributes reject a file. Omit or send null to keep the stored file of an existing entry; a file cannot be removed from an existing entry, so the client deletes the entry and creates a new one, which gets a new "Id".