Set product category
Assigns or clears the category associated with a product.
PATCH
/api/products/{productId}/categoryAssigns or clears the category associated with a product.
Path Parameters
productId*string
Product identifier.
Example
"prod_123"Request Body
application/json
Request payload for Set product category.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json