{
"success": true,
"feedback_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"feedback_type": "negative",
"created_at": "2026-04-02T10:00:00.000Z"
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}Submit Classification Feedback
Submit feedback on a classification result. Use this to confirm a classification was correct (positive) or to provide the correct HS code when it was wrong (negative).
This data is used to improve classification accuracy over time.
Feedback types (feedback_type):
positive— The predicted HS code was correctnegative— The predicted HS code was incorrect (provide the correct code)
Reason types (reason_type): (required for negative feedback)
wrong_code— Wrong HS codewrong_chapter— Wrong chapter entirelyclose_but_wrong— Close but wrong subheadingmaterial_mismatch— Wrong material classificationmissing_context— Needs more context to classifyother— Other (provide details inreasonfield)
{
"success": true,
"feedback_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"feedback_type": "negative",
"created_at": "2026-04-02T10:00:00.000Z"
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}{
"success": false,
"request_id": "c6f398bb-1dad-40e8-a991-a22a180ad842",
"error": "invalid_request",
"message": "Invalid request parameters"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The product description that was classified
"men's cotton t-shirt"
The HS code returned by the classification
"6109.10.0012"
The correct HS code. Same as predicted_hs_code for positive feedback.
"6109.90.1007"
Whether the classification was correct (positive) or incorrect (negative)
positive, negative Category of why the classification was incorrect:
wrong_code— Wrong HS codewrong_chapter— Wrong chapter entirelyclose_but_wrong— Close but wrong subheadingmaterial_mismatch— Wrong material classificationmissing_context— Needs more context to classifyother— Other (provide details inreasonfield)
wrong_code, wrong_chapter, close_but_wrong, material_mismatch, missing_context, other Freetext explanation (used when reason_type is "other")
"Product is actually a blend, not 100% cotton"
The classification mode that produced the original result
mini, pro, max Response
Feedback submitted successfully