v55

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-012046146.0 KB
CategoryMetadata

Update category attribute metadata

Update existing category attribute metadata with new values. When the update is processed, the merge strategy is used to apply changes to scalar and object type fields. The replace strategy is used to apply changes for fields in an array.

Note: Update operations do not verify that the entity exists. Requests targeting a nonexistent entity are accepted, but the update has no effect.

patch/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

codestring required

Attribute code

labelstring

Label for the attribute that is displayed in user interfaces.

dataType'TEXT' | 'DECIMAL' | 'INTEGER' | 'BOOLEAN'

Data type

Example request

[
  {
    "source": {
      "locale": "English"
    },
    "label": "Attribute Name",
    "dataType": "TEXT"
  }
]

Response

All items accepted and will be processed asynchronously