Categories
Update categories
Update existing product categories 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
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
[
{
"slug": "men/clothing/pants",
"source": {
"locale": "English"
},
"name": "Men's Pants",
"description": "Men's clothing, shoes, and accessories",
"families": [
"apparel",
"clothing"
]
}
]Response
All items accepted and will be processed asynchronously