getOrderCalculations
Deprecated: Will be removed. Calculate order prices
Arguments
The ordered products that are part of the order
Return fields
amountUntilFreeShippingCents (Int)
Amount in cents until shipping is free
amountUntilFreeShippingExclTaxCents (Int)
Amount in cents until shipping is free excluding tax
amountUntilFreeShippingInclTaxCents (Int)
Amount in cents until shipping is free including tax
currency (String!)
The currency for this order
discountCents (Int!)
Total discount in cents including tax
discountExclTaxCents (Int!)
Total discount excluding tax in cents
discountInclTaxCents (Int!)
Total discount including tax in cents
percentDiscount (Int)
Total percentage of discount
promotionDiscountExclTaxCents (Int!)
Promotion discount excluding tax in cents
promotionDiscountInclTaxCents (Int!)
Promotion discount including tax in cents
shippingCostsCents (Int!)
ShippingCosts in cents for the (virtual) order including tax
shippingCostsExclTaxCents (Int!)
ShippingCosts in cents for the (virtual) order excluding tax
shippingCostsInclTaxCents (Int!)
ShippingCosts in cents for the (virtual) order including tax
subtotalBeforeShippingExclTaxCents (Int!)
Subtotal in cents before shipping and discount excluding tax
subtotalBeforeShippingInclTaxCents (Int!)
Subtotal in cents before shipping and discount including tax
subtotalCents (Int!)
Subtotal in cents before shipping and discount
totalCents (Int!)
Total in cents including tax
totalExclTaxCents (Int!)
Total in cents excluding tax
totalInclTaxCents (Int!)
Total in cents including tax
totalTaxCents (Int!)
Total tax in cents for the (virtual) order
volumeDiscountExclTaxCents (Int!)
Volume discount excluding tax in cents
volumeDiscountInclTaxCents (Int!)
Volume discount including tax in cents
Last updated