Unique identifier generated by AfterShip.
A unique identifier for the order.
The order name. Default is the same value as number.
The order number.
The curreny of order.
The status of this order.
The status of payments associated with the order.
The status of fulfillment associated with the order.
The total price of the order.
The total shipping fee applied to the price of the order.
The sum of all the taxes applied to the order.
The total discount applied to the order. Its value should be equal to the sum of all item discounts.
The price of the order after discounts but before shipping and taxes.
Items of 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 field
The item's SKU (stock keeping unit). Cannot be changed after creating in AfterShip.
The number of items that have been purchased.
Snapshot field
The item's weight. Cannot be changed after creating in AfterShip.
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.
Deprecated, do not use. This field is no longer supported and should not be included in API requests. 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. Please note:
Snapshot field
The 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 field
Image urls of this variant. Cannot be changed after creating in AfterShip.
Snapshot field
Product tags of this variant. Cannot be changed after creating in AfterShip.
Snapshot field
Product categories of this variant. Cannot be changed after creating in AfterShip.
order shipments.
Tracking number.
Unique code of the courier. Get couriers here: https://www.aftership.com/couriers.
A list of line item objects, each containing information about an item in the shipment.
The ID of shipment.
The date and time (ISO 8601 format) when shipment was created.
The type of logistics service selected for this shipment, e.g. FedEx, SmartPost.
Custom fields that accept an object with string field.Show all...
An optional note that a shop owner can attach to the order.
The date and time (ISO 8601 format) when an order was created.
The date and time (ISO 8601 format) when an order was updated.
The date and time (ISO 8601 format) when an order was created in AfterShip.
The date and time (ISO 8601 format) when an order was updated in AfterShip.
A unique identifier for the customer.
The customer's first name.
The customer's last name.
The customer's email.
The customer's phone number.
The language code of the customer, eg: en-US.
Tags attached to the order.
The name of the shipping method.
preparing...