> ## Documentation Index
> Fetch the complete documentation index at: https://docs-test.rye.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CartCost

> 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="/docs/api-reference/price">Price!</a></>} required>
  The amount, before taxes and cart-level discounts, for the customer to pay
</ParamField>

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

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

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

<ParamField path="total" type={<><a href="/docs/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`](/docs/api-reference/cart)
