PriceRulePrerequisiteToEntitlementQuantityRatio object

Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.

Required access

read_price_rules access scope.


On this page


Fields

  • entitlementQuantity ([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    The quantity of entitlements in the ratio.
  • prerequisiteQuantity ([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
    The quantity of prerequisites in the ratio.


Types that return PriceRulePrerequisiteToEntitlementQuantityRatio

  • [PriceRule.prerequisiteToEntitlementQuantityRatio](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/pricerule#prerequisitetoentitlementquantityratio-2021-01)