Bulk Attribute Descriptions
POST/v2/attribute-descriptions/bulk/name
Creates and/or updates Attribute Descriptions in bulk by name
Request
- application/json
Body
array
required
The Attribute Descriptions to create or update
Array [
Array [
]
Array [
]
Array [
]
]
Descriptive identifier (Screaming Snake Case)
descriptions
object[]
required
Attribute descriptions per language
Possible values: >= 2 characters
and <= 2 characters
Localized field language code
Localized field value
units
object[]
Attribute unit per language
Possible values: >= 2 characters
and <= 2 characters
Localized field language code
Localized field value
Possible values: [text
, enum
, color
, datetime
, integer
, decimal
]
Attribute type. One of: [text, enum, color, datetime, integer, decimal]
Possible values: [product
, category
, cluster
, customer
, contact
, company
]
Attribute class. One of: [product, category, cluster, customer, contact, company]
Unique identifier for the connected valueset
Possible values: <= 64 characters
The attribute group
Default value: true
Flags whether this attribute should be used when generating catalog page filters
Default value: true
Flags whether this attribute should be used when generating product specifications.
Flags whether this attribute is only available to system users
Flags whether this attribute is hidden and should only be used for background operations.
defaultValue
object
required
textValues
object[]
Attribute value descriptions per language, required for TEXT type attributes
Possible values: >= 2 characters
and <= 2 characters
Language is set as 2 character country code.
List of localized string values
Attribute enum values, required for ENUM type attributes
Attribute integer value, required for INTEGER type attributes
Attribute decimal value, required for DECIMAL type attributes
Attribute datetime value, required for DATETIME type attributes
Attribute color value, required for COLOR type attributes
Responses
- 200
A list of operations performed on the Attribute Descriptions
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
ID of the created or updated attribute description
Name of the created or updated attribute description
Success or error message
Possible values: [update
, create
, ignored
, delete
]
Action performed on the attribute description
Whether the action was successful or not
[
{
"id": "string",
"name": "string",
"message": "string",
"action": "create",
"success": true
}
]