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

---
title: "ShopifyOffer"
description: "Represents various price-related information and shipping methods for the products in the cart."
---

## Fields

***

<ParamField path="duty" type={<a href="/api-reference/price">Price</a>}>
  A Price object representing the duty on the products in the cart.
</ParamField>

<ParamField path="subtotal" type={<a href="/api-reference/price">Price</a>}>
  A Price object representing the subtotal of the products in the cart before taxes and shipping fees are applied.
</ParamField>

<ParamField path="margin" type={<a href="/api-reference/price">Price</a>}>
  A Price object representing the margin on the products in the cart.
</ParamField>

<ParamField path="notAvailableIds" type="[String!]!" required>
  An array of string IDs representing the products that are not available for purchase. This can be helpful in notifying the user about any unavailable items in their cart.
</ParamField>

<ParamField path="shippingMethods" type={<a href="/api-reference/shippingmethod">[ShippingMethod!]!</a>} required>
  An array of [`ShippingMethod`](/api-reference/shippingmethod) objects that contain information about the available shipping options for the cart.
</ParamField>

<ParamField path="selectedShippingMethod" type={<a href="/api-reference/shippingmethod">ShippingMethod!</a>} required>
  A [`ShippingMethod`](/api-reference/shippingmethod) object that contains information about the selected shipping option for a store.
</ParamField>

<ParamField path="errors" type={<a href="/api-reference/shopifyoffererror">[ShopifyOfferError!]!</a>} required />

## Related types

* [`ShopifyStore`](/api-reference/shopifystore)


---

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