<div class="doc-version" data-version="unstable">
    <div>
    <h2 id="on-this-page">On this page</h2>
    <ul>
      <li>
        <a href="#fields-unstable">
          Fields
        </a>
      </li>
      <li>
        <a href="#deprecated-fields-unstable">
          Deprecated fields
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-unstable">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="cart-unstable">
          <div class="field-name">
            cart
            (<a href="/api/functions/reference/pickup-point-delivery-option-generator/graphql/common-objects/cart"><code>Cart!</code></a>)
          </div>
          <div>
            <p>The cart where the Function is running. A cart contains the merchandise that a customer intends to purchase
and information about the customer, such as the customer's email address and phone number.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="deliveryaddress-unstable">
          <div class="field-name">
            deliveryAddress
            (<a href="/api/functions/reference/pickup-point-delivery-option-generator/graphql/common-objects/mailingaddress"><code>MailingAddress!</code></a>)
          </div>
          <div>
            <p>The delivery address for the pickup point delivery option.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="fetchresult-unstable">
          <div class="field-name">
            fetchResult
            (<a href="/api/functions/reference/pickup-point-delivery-option-generator/graphql/common-objects/httpresponse"><code>HttpResponse</code></a>)
          </div>
          <div>
            <p>The fetch target result. Your Function must return this data structure when generating the request.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="localization-unstable">
          <div class="field-name">
            localization
            (<a href="/api/functions/reference/pickup-point-delivery-option-generator/graphql/common-objects/localization"><code>Localization!</code></a>)
          </div>
          <div>
            <p>The regional and language settings that determine how the Function
handles currency, numbers, dates, and other locale-specific values
during discount calculations. These settings are based on the store's configured
<a href="https://shopify.dev/docs/apps/build/functions/localization-practices-shopify-functions">localization practices</a>.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="presentmentcurrencyrate-unstable">
          <div class="field-name">
            presentmentCurrencyRate
            (<a href="/api/functions/reference/pickup-point-delivery-option-generator/graphql/scalar#decimal-unstable"><code>Decimal!</code></a>)
          </div>
          <div>
            <p>The exchange rate used to convert discounts between the shop's default
currency and the currency that displays to the customer during checkout.
For example, if a store operates in USD but a customer is viewing discounts in EUR,
then the presentment currency rate handles this conversion for accurate pricing.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="shop-unstable">
          <div class="field-name">
            shop
            (<a href="/api/functions/reference/pickup-point-delivery-option-generator/graphql/common-objects/shop"><code>Shop!</code></a>)
          </div>
          <div>
            <p>Information about the shop where the Function is running, including the shop's timezone
setting and associated <a href="https://shopify.dev/docs/apps/build/custom-data">metafields</a>.</p>
          </div>
        </div>
      </li>
  </ul>
<h2 id="deprecated-fields-unstable">
  Deprecated fields
</h2>
    <button class="deprecated-fields-toggle-button marketing-button marketing-button--small" role="button">
      Show/Hide
    </button>
  <ul class="graphql-deprecated-fields">
      <li>
        <div class="field" id="allocations-unstable">
          <div class="field-name">
            allocations
            (<a href="/api/functions/reference/pickup-point-delivery-option-generator/graphql/common-objects/allocation"><code>[Allocation!]!</code></a>)
              <span class="heading-flag">deprecated</span>
          </div>
          <div>
            <p>A list of one or more line items that are to be delivered to a specific address.</p>
  <div class="note note-caution">
    <h4 id="deprecation-warning">Deprecation warning</h4>
    <p>Use <code>deliveryAddress</code> instead.</p>
  </div>
          </div>
        </div>
      </li>
  </ul>
</div>