> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/queries/get-order-calculations.md).

# getOrderCalculations

Deprecated: Will be removed. Calculate order prices

### Arguments

| Argument                                                                                                                                | Description                                     |
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| orderedProducts (\[[OrderedProductInput](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/ordered-product-input.md)!]) | The ordered products that are part of the order |
| discountCode ([String](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/string.md))                                    |                                                 |

### Return fields

#### amountUntilFreeShippingCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))

Amount in cents until shipping is free

#### amountUntilFreeShippingExclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))

Amount in cents until shipping is free excluding tax

#### amountUntilFreeShippingInclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))

Amount in cents until shipping is free including tax

#### currency ([String](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/string.md)!)

The currency for this order

#### discountCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Total discount in cents including tax

#### discountExclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Total discount excluding tax in cents

#### discountInclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Total discount including tax in cents

#### percentDiscount ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))

Total percentage of discount

#### promotionDiscountExclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Promotion discount excluding tax in cents

#### promotionDiscountInclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Promotion discount including tax in cents

#### shippingCostsCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

ShippingCosts in cents for the (virtual) order including tax

#### shippingCostsExclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

ShippingCosts in cents for the (virtual) order excluding tax

#### shippingCostsInclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

ShippingCosts in cents for the (virtual) order including tax

#### subtotalBeforeShippingExclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Subtotal in cents before shipping and discount excluding tax

#### subtotalBeforeShippingInclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Subtotal in cents before shipping and discount including tax

#### subtotalCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Subtotal in cents before shipping and discount

#### totalCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Total in cents including tax

#### totalExclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Total in cents excluding tax

#### totalInclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Total in cents including tax

#### totalTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Total tax in cents for the (virtual) order

#### volumeDiscountExclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Volume discount excluding tax in cents

#### volumeDiscountInclTaxCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)

Volume discount including tax in cents
