<div class="doc-version" data-version="unstable"> <p>Represents an association between a variant and a selling plan. Selling plan allocations describe the options offered for each variant, and the price of the variant when purchased with a selling plan.</p> <div> <h2 id="on-this-page">On this page</h2> <ul> <li> <a href="#fields-unstable"> Fields </a> </li> <li> <a href="#types-that-return-sellingplanallocation-unstable"> Types that return SellingPlanAllocation </a> </li> </ul> </div> <h2 id="fields-unstable"> Fields </h2> <ul class="fields"> <li> <div class="field" id="priceadjustments-unstable"> <div class="field-name"> priceAdjustments (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/common-objects/sellingplanallocationpriceadjustment"><code>[SellingPlanAllocationPriceAdjustment!]!</code></a>) </div> <div> <p>A list of price adjustments, with a maximum of two. When there are two, the first price adjustment goes into effect at the time of purchase, while the second one starts after a certain number of orders. A price adjustment represents how a selling plan affects pricing when a variant is purchased with a selling plan. Prices display in the customer's currency if the shop is configured for it.</p> </div> </div> </li> <li> <div class="field" id="sellingplan-unstable"> <div class="field-name"> sellingPlan (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/common-objects/sellingplan"><code>SellingPlan!</code></a>) </div> <div> <p>A representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'.</p> </div> </div> </li> </ul> <h2 id="types-that-return-sellingplanallocation-unstable"> Types that return SellingPlanAllocation </h2> <ul> <li> <a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/common-objects/cartline#sellingplanallocation-unstable"> <code>CartLine.sellingPlanAllocation</code> </a> </li> </ul> </div>