Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 15.6 KB

customsitemcreaterequest.md

File metadata and controls

37 lines (32 loc) · 15.6 KB

CustomsItemCreateRequest

Example Usage

import { CustomsItemCreateRequest } from "shippo/models/components";

let value: CustomsItemCreateRequest = {
  description: "T-Shirt",
  massUnit: "lb",
  metadata: "Order ID \"123454\"",
  netWeight: "5",
  originCountry: "<value>",
  quantity: 20,
  skuCode: "HM-123",
  hsCode: "0901.21",
  valueAmount: "200",
  valueCurrency: "USD",
};

Fields

Field Type Required Description Example
description string ✔️ Text description of your item. T-Shirt
eccnEar99 string Export Control Classification Number, required on some exports from the United States.
massUnit components.WeightUnitEnum ✔️ The unit used for weight. lb
metadata string A string of up to 100 characters that can be filled with any additional information you
want to attach to the object.
Order ID "123454"
netWeight string ✔️ Total weight of this item, i.e. quantity * weight per item. 5
originCountry string ✔️ Country of origin of the item. Example: US or DE.
All accepted values can be found on the Official ISO Website.
quantity number ✔️ Quantity of this item in the shipment you send. Must be greater than 0. 20
skuCode string SKU code of the item, which is required by some carriers. HM-123
hsCode string HS code of the item, which is required by some carriers. If tariff_number is not provided, hs_code will be used. If both hs_code and tariff_number are provided, tariff_number will be used. 50 character limit. 0901.21
tariffNumber string The tariff number of the item. If tariff_number is not provided, hs_code will be used. If both hs_code and tariff_number are provided, tariff_number will be used. 12 character limit.
valueAmount string ✔️ Total value of this item, i.e. quantity * value per item. 200
valueCurrency string ✔️ Currency used for value_amount. The official ISO 4217
currency codes are used, e.g. USD or EUR.
USD