Skip to main content
POST
/
api
/
products
/
{key}
/
{source}
/
feedback
Submit Feedback
curl --request POST \
  --url https://api.merchantops.ai/api/products/{key}/{source}/feedback \
  --header 'Content-Type: application/json' \
  --data '
{
  "comment": "<string>",
  "field": "global",
  "version": 123
}
'
{
  "message": "<string>",
  "score_id": "<string>",
  "success": true
}

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required
source
string
required

Cookies

stytch_session
string | null

Body

application/json

Request model for submitting user feedback on enrichment quality.

score
enum<integer>
required

Feedback score: 1 = thumbs up (positive), 0 = thumbs down (negative)

Available options:
0,
1
comment
string | null

Optional comment explaining the feedback

field
string | null
default:global

Field being evaluated: 'global' for overall quality, or property key for specific field

version
integer | null

Version number of the product being evaluated

Response

Successful Response

Response model for feedback submission.

message
string
required

Status message

score_id
string
required

Langfuse score ID for reference

success
boolean
required

Whether feedback was submitted successfully