Some fields of order item are defined as snapshot fields. These snapshot fields are related to product and can only be specified when creating an order.
Some fields of order item are defined as snapshot fields. These snapshot fields are related to product and can only be specified when creating an order.
A unique identifier for the line item. You should pass it when create order. Please note:
Snapshot fieldThe item's SKU (stock keeping unit). Cannot be changed after creating in AfterShip.
The number of items that have been purchased.
Snapshot fieldThe item's weight. Cannot be changed after creating in AfterShip.
The weight unit eg: g or kg.
Weight value.
Snapshot fieldThe price of the item before discounts and taxes have been applied. Cannot be changed after creating in AfterShip.
Please note that the item total price needs to meet the following formula:
item total price paid = unit_price*quantity - discount + tax
The total amount of the discount allocated to the line item. Including the discount applied only on this item and the allocated discount for the order level discount.
The total amount of the tax allocated to the line item.
Deprecated, do not use. This field is no longer supported and should not be included in API requests. Total items available to fulfill.
Snapshot fieldThe ID of the product that the line item belongs to. It cannot be changed after creating in AfterShip. Please note:
Snapshot fieldThe ID of the product variant. Default is the same value as source_product_id. Cannot be changed after creating in AfterShip. Please note:
The title of the product variant.
Harmonized System (HS) Codes.
The origin country of this product.
Snapshot fieldImage urls of this variant. Cannot be changed after creating in AfterShip.
Snapshot fieldProduct tags of this variant. Cannot be changed after creating in AfterShip.
Snapshot fieldProduct categories of this variant. Cannot be changed after creating in AfterShip.
preparing...