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.
Snapshot field
The item's SKU (stock keeping unit). Cannot be changed after creating in AfterShip.
The number of items that have been purchased.
The weight unit eg: g or kg.
Weight value.
Snapshot field
The 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.
Total items available to fulfill.
Snapshot field
The ID of the product that the line item belongs to. It cannot be changed after creating in AfterShip.
Snapshot field
The ID of the product variant. Default is the same value as source_product_id. Cannot be changed after creating in AfterShip.
The title of the product variant.
Harmonized System (HS) Codes.
The origin country of this product.
Snapshot field
Image urls of this variant. Cannot be changed after creating in AfterShip.
Snapshot field
Product categories of this variant. Cannot be changed after creating in AfterShip.
Snapshot field
Product tags of this variant. Cannot be changed after creating in AfterShip.
preparing...