--- title: PriceRulePrerequisiteToEntitlementQuantityRatio - GraphQL Admin description: >- Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/PriceRulePrerequisiteToEntitlementQuantityRatio md: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/PriceRulePrerequisiteToEntitlementQuantityRatio.md --- # Price​Rule​Prerequisite​To​Entitlement​Quantity​Ratio object Requires `read_price_rules` access scope. Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. ## Fields * entitlement​Quantity [Int!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int) non-null The quantity of entitled items in the ratio. * prerequisite​Quantity [Int!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int) non-null The quantity of prerequisite items in the ratio. *** ## Map ### Fields with this object * {}[PriceRule.prerequisiteToEntitlementQuantityRatio](https://shopify.dev/docs/api/admin-graphql/unstable/objects/PriceRule#field-PriceRule.fields.prerequisiteToEntitlementQuantityRatio)