Skip to main content
PATCH
Update product context based on user feedback

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productId
string<uuid>
required

The product ID whose context notes should be updated.

Body

application/json
feedback
string
required

The user-provided correction or context, in their words. Pass exactly what the user said (or a faithful summary of multiple turns) — do not pre-edit or generalize.

Required string length: 1 - 4000
source
string | null

Optional reference to what triggered this update (e.g. "conversation abc-123"). Pass null or omit if there is no specific source.

Maximum string length: 200

Response

Product context updated successfully

productId
string<uuid>
required

The product ID that was updated.

summary
string
required

Short human-readable summary of what changed in the notes.

updatedAt
string
required

When the notes were updated (ISO 8601).