put
https://{yourinstance}.makaira.io/category/
Update Category by ID
Updates the search configuration for a specific category, such as assigning a boost stream or configuring category-specific aggregations.
Requires authentication.
Request
PUT /category/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The category identifier from the shop system. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
stream | string | No | ID of the boost stream to assign to this category. |
aggregations | array | No | Array of aggregation IDs to use for this category. |
overrideAggregations | boolean | No | When true, uses the category-specific aggregations instead of global defaults. |
overrideAggregationSorting | boolean | No | When true, uses category-specific aggregation sorting. |
Example Request
{
"stream": "3",
"aggregations": ["1", "2", "5"],
"overrideAggregations": true
}Response
Returns the updated category configuration.
200OK

