Assigning a resource to a category
POST {{api-url}}/category/{{tenant}}/categories/{{categoryId}}/assignments
Assigns a resource to a specified category.
Required scopes
category.category_update
Request Body
{"ref"=>{"id"=>"{{productId}}", "type"=>"PRODUCT"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Version | string | (Required) To use this endpoint you have to add X-Version header with proper value to your request. |
Note: The header value has to match following regular expression: ^v[1-9][0-9]?$
|
| Content-Type
| string | | |
| Accept
| string | | |
RESPONSES
status: Created
{"id":"e243dc9e-a3f6-4573-bb01-a8ae21d2d4ae"}