latestSwagger 2.0Proprietary2026-08-17126191431.8 KB

7f97d8cd0f1e

Items

Overwrite an item's HS code

Stores a user-corrected HS code for the item as a durable override that survives AI re-classification. Chapter/heading/subheading are derived from the code.

post/items/{id}/hs-code/override

Path parameters

idstring required

Item ID

Request body

descriptionstring
hs_codestring
notestring

Response

OK

chapterstring

First 2 digits

confidence_levelstring

"high"/"medium"/"low"; empty for override

confidence_scorenumber

carried over when verified; nil for override

created_atstring
decided_atstring
decided_bystring

user email

headingstring

First 4 digits

hs_codestring

6-10 digit HS/HTS code

hs_code_descriptionstring

Description of the HS code

idstring
item_idstring
notestring

optional user note (esp. for overrides)

sourcestring

"verified" or "override"

source_suggestion_idstring

provenance of the verified suggestion

subheadingstring

First 6 digits

updated_atstring