<div class="doc-version" data-version="unstable"> <p>A local pickup delivery option, which will be presented to the customer.</p> <h2 id="input-fields-unstable">Fields</h2> <ul class="fields-list"> <li> <div class="field"> <div class="field-name"> cost (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#decimal-unstable"><code>Decimal</code></a>) </div> </div> <div> <p>The cost of the delivery option in the currency of the cart. Defaults to zero.</p> </div> </li> <li> <div class="field"> <div class="field-name"> metafields (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/common-objects/metafieldoutput"><code>[MetafieldOutput!]</code></a>) </div> </div> <div> <p>Metafields associated with the delivery option.</p> </div> </li> <li> <div class="field"> <div class="field-name"> pickupLocation (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/common-objects/pickuplocation"><code>PickupLocation!</code></a>) <span class="heading-flag">Required</span> </div> </div> <div> <p>The pickup location.</p> </div> </li> <li> <div class="field"> <div class="field-name"> title (<a href="/api/functions/reference/local-pickup-delivery-option-generator/graphql/scalar#string-unstable"><code>String</code></a>) </div> </div> <div> <p>The title of the delivery option. Defaults to pickup location's name.</p> </div> </li> </ul> </div>