Update Attribute Description
PATCH/v2/attribute-descriptions/:lookupKey/:lookupValue
Updates an Attribute Description by lookupKey and lookupValue
Request
Path Parameters
Possible values: [id
, name
]
The lookupKey to find the Attribute Description by, either 'id' or 'name'
The lookupValue to find the Attribute Description by, i.e. the id or the name
Query Parameters
Possible values: [product
, category
, cluster
, customer
, contact
, company
]
The resourceType to get the Attribute Description for. Required when lookupKey is 'name'
- application/json
Body
required
The Attribute Description to update
Array [
]
Array [
]
Array [
]
descriptions
object[]
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: <= 64 characters
The attribute group
Flags whether this attribute should be used when generating catalog page filters
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
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
- 400
- 401
- 404
- 409
- 500
Bad request
Unauthorized
- application/json
- Schema
- invalid_client_id
- invalid_client_cred
Schema
any
{
"ErrorCode": "invalid_client",
"Error": "ClientId is Invalid"
}
{
"ErrorCode": "invalid_client",
"Error": "Client credentials are invalid"
}
Attribute Description not found
Attribute Description already exists
Unknown create Attribute Description error