v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
Categories

Update Category Attribute

Modifies the category attribute. This current version of the Categories API includes localizedContent to support <a href="/pages/catalog-structure#multi-locale-catalogs">multi-locale catalogs</a>, which was not present in the previous API model. If you were a client prior to May 2024 and have upgraded your implementation to support this feature, you can still access category data that has not yet been rewritten to the new model by providing an x-api-version header set to "1".

put/commerce/catalog/admin/categories/{categoryId}/attributes/{attributeFQN}

Path parameters

categoryIdinteger required
attributeFQNstring required

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

attributeDefinitionIdinteger nullable
fullyQualifiedNamestring nullable

Response

OK

attributeDefinitionIdinteger nullable
fullyQualifiedNamestring nullable