You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A detailed description of the commodity, up to 255 characters. The description will appear on the customs form. If the shipment has multiple types of items, create a separate customsItems object for each. Each description will appear on the form.
h_s_tariff_code
str
The destination country’s tariff-classification number (HS code) for the commodity. Most countries use the six-digit Harmonized System (HS) as the basis for their tariff classifications and then add digits for more detail. The maximum length for an HS code is 14 characters. The HS code will appear on the customs form. If the shipment has multiple types of items, create a separate customsItems object for each.
[optional]
origin_country_code
str
The two-character ISO country code of the shipment’s origin country. Use ISO 3166-1 alpha-2 standard values.
[optional]
quantity
float
Enter the total number of items of this type of commodity.
unit_price
float
The price of one item of this type of commodity.
weight_unit
str
The unit of measurement. This field is required by the unitWeight object.
[optional]
weight
float
The weight of the item.
[optional]
Example
fromshipping.models.shipment_international_customs_customs_items_innerimportShipmentInternationalCustomsCustomsItemsInner# TODO update the JSON string belowjson="{}"# create an instance of ShipmentInternationalCustomsCustomsItemsInner from a JSON stringshipment_international_customs_customs_items_inner_instance=ShipmentInternationalCustomsCustomsItemsInner.from_json(json)
# print the JSON string representation of the objectprint(ShipmentInternationalCustomsCustomsItemsInner.to_json())
# convert the object into a dictshipment_international_customs_customs_items_inner_dict=shipment_international_customs_customs_items_inner_instance.to_dict()
# create an instance of ShipmentInternationalCustomsCustomsItemsInner from a dictshipment_international_customs_customs_items_inner_from_dict=ShipmentInternationalCustomsCustomsItemsInner.from_dict(shipment_international_customs_customs_items_inner_dict)