Update item
Items
Update item
Update an existing catalog item.
POST
Update item
Description
Updates an existing item. All body fields are optional, but at least one field must be supplied. Ifname, description, or metadata changes, the item embedding is refreshed.
PATCH /v1/items/{item_id} is also available as a compatibility alias with the same request and response shape.
Request
| Field | Type | Required | Description |
|---|---|---|---|
name | string | no | Replacement item name. |
description | string | no | Replacement description. |
metadata | object | no | Replacement metadata object. |
active | boolean | no | Whether the item is eligible for recommendations. |
Response
Errors
| Status | Scenario |
|---|---|
400 | Malformed item ID, empty body, or invalid field |
404 | Item does not exist for the authenticated tenant |
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Public item ID.
Pattern:
^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$Body
application/json
Partial item update. At least one field must be supplied.
Response
Updated item
Pattern:
^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$Example:
"7f3a2c9e"
Available options:
item Example:
"Wireless Headphones"
Example:
"Noise-cancelling Bluetooth headphones."
Arbitrary JSON object used for filtering, ranking, and debugging.
Example:
{
"category": "electronics",
"brand": "Acme",
"price": 10999,
"currency": "usd"
}Example:
true
Unix timestamp in seconds.
Example:
1777478400
Unix timestamp in seconds.
Example:
1777478500

