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)
ATTRIBUTE_NAME
descriptions
object[]
required
Attribute descriptions per language
Localized field language code
Possible values: >= 2 characters
and <= 2 characters
EN
Localized field value
example value
units
object[]
Attribute unit per language
Localized field language code
Possible values: >= 2 characters
and <= 2 characters
EN
Localized field value
example value
Attribute type. One of: [text, enum, color, datetime, integer, decimal]
Possible values: [text
, enum
, color
, datetime
, integer
, decimal
]
color
Attribute class. One of: [product, category, cluster, customer, contact, company]
Possible values: [product
, category
, cluster
, customer
, contact
, company
]
customer
Unique identifier for the connected valueset
1234
The attribute group
Possible values: <= 64 characters
GROUP_NAME
Flags whether this attribute should be used when generating catalog page filters
true
true
Flags whether this attribute should be used when generating product specifications.
true
true
Flags whether this attribute is only available to system users
false
false
Flags whether this attribute is hidden and should only be used for background operations.
false
false
defaultValue
object
required
textValues
object[]
Attribute value descriptions per language, required for TEXT type attributes
Language is set as 2 character country code.
Possible values: >= 2 characters
and <= 2 characters
EN
List of localized string values
["Hello","World"]
Attribute enum values, required for ENUM type attributes
["VALUE_1","VALUE_2"]
Attribute integer value, required for INTEGER type attributes
42
Attribute decimal value, required for DECIMAL type attributes
9.99
Attribute datetime value, required for DATETIME type attributes
2021-01-01T00:00:00Z
Attribute color value, required for COLOR type attributes
#000000
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
Action performed on the attribute description
Possible values: [update
, create
, ignored
, delete
]
create
Whether the action was successful or not
true
[
{
"id": "string",
"name": "string",
"message": "string",
"action": "create",
"success": true
}
]