API Reference

ShopifyOffer

Represents various price-related information and shipping methods for the products in the cart.

Fields


subtotal: Price

A Price object representing the subtotal of the products in the cart before taxes and shipping fees are applied.


margin: Price

A Price object representing the margin on the products in the cart.


notAvailableIds: [String!]!

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.


shippingMethods: [ShippingMethod!]!

An array of ShippingMethod objects that contain information about the available shipping options for the cart.


selectedShippingMethod: [ShippingMethod!]!

A ShippingMethod object that contains information about the selected shipping option for a store.


errors: [ShopifyOfferError!]!


Related types