order APIv1_beta.25.2

PricingSummary

The container that returns information about the costs of the order, such as the total cost, discounts, etc., of all the line items.

Types that use PricingSummary

Calls that use PricingSummary

Fields

Field
Type
Description
additionalSavings
The total amount of the coupon discounts in the purchase order.
adjustment
The total amount of any seller adjustments. An adjustment can be a credit or debit. This is used to catch any monetary changes to the order that are not already captured in one of the other fields.
deliveryCost
The shipping cost for all the line items before any shipping discounts are applied.

Let's say there were 4 line items and the shipping cost for each line item is $5. One of the line items qualifies for free shipping. The deliveryCost value would be $20, which is the total cost for shipping all the line items before any discounts were applied.
deliveryDiscount
The total amount of the order shipping discounts for the all line items, such as free shipping.

Let's say there were 4 line items and the shipping cost for each line items is $5. One of the line items qualifies for free shipping. The deliveryDiscounts value would be 5, which is the value of the free shipping discount.

Note: This will always be a negative number.
fee
The total amount of any fees for all the line items, such as a recycling fee.
importCharges
The sum of all the Global Shipping Program import charges for all the line items.
priceDiscount
The total amount of all the item discounts for all line items, such as Buy 1 Get 1 free.

Let's say there were 4 line items. One of the line items qualifies for free shipping, which is $5 and two items qualify for a Buy 1 Get 1 offer, which is a $6 and a $15 discount.

The priceDiscount value would be 21, which is the total of the two Buy 1 Get 1 discounts. The shipping discount in not included. It is returned in the deliveryDiscount field.

Note: This will always be a negative number.
priceSubtotal
The total amount for all the line items taking into account the item quantity but before adding in taxes and shipping costs, or applying discounts, fees, and adjustments.
tax
The total amount of the taxes for all the line items.
total
The total of the purchase order.

total = priceSubtotal + priceDiscount + deliveryCost + deliveryDiscounts + tax + additionalSavings + adjustment + fee + importCharges

Note: additionalSavings, deliveryDiscounts, and priceDiscount are negative numbers.