POST /variant-hs-codes.json

POST /variant-hs-codes.json
application/json

Body Required

  • country string Required

    Country

  • hsCode string Required

    Hs code

  • variantId integer(int32) | null

    Variant

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • country string Required

      Country

    • createdAt string(date-time)

      Created at

    • hsCode string Required

      Hs code

    • id integer(int32)

      Id

    • updatedAt string(date-time)

      Updated at

    • variantId integer(int32) | null

      Variant

POST /variant-hs-codes.json
curl \
 --request POST 'http://api.example.com/v1/variant-hs-codes.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"country":"string","hsCode":"string","variantId":42}'
Request examples
{
  "country": "string",
  "hsCode": "string",
  "variantId": 42
}
Response examples (200)
{
  "country": "string",
  "createdAt": "2025-05-04T09:42:00Z",
  "hsCode": "string",
  "id": 42,
  "updatedAt": "2025-05-04T09:42:00Z",
  "variantId": 42
}