> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CartCost"
description: "Represents estimated costs that the buyer will pay at checkout. The costs are subject to change and changes will be reflected at checkout. The cost field uses the buyerIdentity field to determine shipping pricing"
---

## Fields

***

<ParamField path="subtotal" type={<a href="/api-reference/price">Price!</a>} required>
  The amount, before taxes and cart-level discounts, for the customer to pay
</ParamField>

<ParamField path="duty" type={<a href="/api-reference/price">Price</a>}>
  The duty amount for the customer to pay at checkout
</ParamField>

<ParamField path="tax" type={<a href="/api-reference/price">Price</a>}>
  The tax amount for the customer to pay at checkout
</ParamField>

<ParamField path="margin" type={<a href="/api-reference/price">Price!</a>} required>
  The total margin amount
</ParamField>

<ParamField path="shipping" type={<a href="/api-reference/price">Price</a>}>
  The shipping amount for the customer to pay at checkout
</ParamField>

<ParamField path="total" type={<a href="/api-reference/price">Price</a>}>
  The total amount for the customer to pay
</ParamField>

<ParamField path="isEstimated" type="Boolean!" required>
  Indicates whether the cost is estimated
</ParamField>

## Related types

* [`Cart`](/api-reference/cart)


---

*Powered by [holocron.so](https://holocron.so)*
