CategoryMetadata
Create category attribute metadata
When creating category attribute metadata:
- Each category attribute requires a unique code and source.
- Use the dataType field to define the data type for the category attribute.
To update existing category attribute metadata, use the update operation.
post/v1/catalog/categories/metadata
Headers
Authorizationstring required
Authorization Bearer token
Content-Type'application/json' required
Content-Encoding'gzip'
Use this header if the payload is compressed with gzip.
Request body
Example request
[
{
"source": {
"locale": "English"
},
"label": "Attribute Name",
"dataType": "TEXT"
}
]Response
All items accepted and will be processed asynchronously