<div class="doc-version" data-version="unstable">
  <p>Represents a mailing address.</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-mailingaddress-unstable">
          Types that return MailingAddress
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-unstable">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="address1-unstable">
          <div class="field-name">
            address1
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The first line of the address. Typically the street address or PO Box number.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="address2-unstable">
          <div class="field-name">
            address2
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The second line of the address. Typically the number of the apartment, suite, or unit.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="city-unstable">
          <div class="field-name">
            city
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the city, district, village, or town.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="company-unstable">
          <div class="field-name">
            company
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the customer's company or organization.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="countrycode-unstable">
          <div class="field-name">
            countryCode
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/countrycode"><code>CountryCode</code></a>)
          </div>
          <div>
            <p>The two-letter code for the country of the address. For example, US.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="firstname-unstable">
          <div class="field-name">
            firstName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The first name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="lastname-unstable">
          <div class="field-name">
            lastName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The last name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="latitude-unstable">
          <div class="field-name">
            latitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-unstable"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate latitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="longitude-unstable">
          <div class="field-name">
            longitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-unstable"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate longitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="market-unstable">
          <div class="field-name">
            market
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/market"><code>Market</code></a>)
          </div>
          <div>
            <p>The market of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="name-unstable">
          <div class="field-name">
            name
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The full name of the customer, based on firstName and lastName.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="phone-unstable">
          <div class="field-name">
            phone
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>A unique phone number for the customer. Formatted using E.164 standard. For example, +16135551111.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="provincecode-unstable">
          <div class="field-name">
            provinceCode
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The alphanumeric code for the region. For example, ON.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="zip-unstable">
          <div class="field-name">
            zip
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-unstable"><code>String</code></a>)
          </div>
          <div>
            <p>The zip or postal code of the address.</p>
          </div>
        </div>
      </li>
  </ul>
  <h2 id="types-that-return-mailingaddress-unstable">
    Types that return MailingAddress
  </h2>
  <ul>
    <li>
      <a href="/api/functions/reference/order-discounts/graphql/common-objects/cartdeliverygroup#deliveryaddress-unstable">
        <code>CartDeliveryGroup.deliveryAddress</code>
      </a>
    </li>
  </ul>
</div><div class="doc-version doc-version--rc" data-version="2025-04">
  <p>Represents a mailing address.</p>
    <div>
    <h2 id="on-this-page">On this page</h2>
    <ul>
      <li>
        <a href="#fields-2025-04">
          Fields
        </a>
      </li>
      <li>
        <a href="#types-that-return-mailingaddress-2025-04">
          Types that return MailingAddress
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-2025-04">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="address1-2025-04">
          <div class="field-name">
            address1
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The first line of the address. Typically the street address or PO Box number.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="address2-2025-04">
          <div class="field-name">
            address2
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The second line of the address. Typically the number of the apartment, suite, or unit.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="city-2025-04">
          <div class="field-name">
            city
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the city, district, village, or town.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="company-2025-04">
          <div class="field-name">
            company
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the customer's company or organization.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="countrycode-2025-04">
          <div class="field-name">
            countryCode
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/countrycode"><code>CountryCode</code></a>)
          </div>
          <div>
            <p>The two-letter code for the country of the address. For example, US.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="firstname-2025-04">
          <div class="field-name">
            firstName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The first name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="lastname-2025-04">
          <div class="field-name">
            lastName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The last name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="latitude-2025-04">
          <div class="field-name">
            latitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2025-04"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate latitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="longitude-2025-04">
          <div class="field-name">
            longitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2025-04"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate longitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="market-2025-04">
          <div class="field-name">
            market
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/market"><code>Market</code></a>)
          </div>
          <div>
            <p>The market of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="name-2025-04">
          <div class="field-name">
            name
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The full name of the customer, based on firstName and lastName.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="phone-2025-04">
          <div class="field-name">
            phone
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>A unique phone number for the customer. Formatted using E.164 standard. For example, +16135551111.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="provincecode-2025-04">
          <div class="field-name">
            provinceCode
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The alphanumeric code for the region. For example, ON.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="zip-2025-04">
          <div class="field-name">
            zip
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-04"><code>String</code></a>)
          </div>
          <div>
            <p>The zip or postal code of the address.</p>
          </div>
        </div>
      </li>
  </ul>
  <h2 id="types-that-return-mailingaddress-2025-04">
    Types that return MailingAddress
  </h2>
  <ul>
    <li>
      <a href="/api/functions/reference/order-discounts/graphql/common-objects/cartdeliverygroup#deliveryaddress-2025-04">
        <code>CartDeliveryGroup.deliveryAddress</code>
      </a>
    </li>
  </ul>
</div><div class="doc-version doc-version--latest selected" data-version="2025-01">
  <p>Represents a mailing address.</p>
    <div>
    <h2 id="on-this-page">On this page</h2>
    <ul>
      <li>
        <a href="#fields-2025-01">
          Fields
        </a>
      </li>
      <li>
        <a href="#types-that-return-mailingaddress-2025-01">
          Types that return MailingAddress
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-2025-01">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="address1-2025-01">
          <div class="field-name">
            address1
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The first line of the address. Typically the street address or PO Box number.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="address2-2025-01">
          <div class="field-name">
            address2
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The second line of the address. Typically the number of the apartment, suite, or unit.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="city-2025-01">
          <div class="field-name">
            city
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the city, district, village, or town.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="company-2025-01">
          <div class="field-name">
            company
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the customer's company or organization.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="countrycode-2025-01">
          <div class="field-name">
            countryCode
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/countrycode"><code>CountryCode</code></a>)
          </div>
          <div>
            <p>The two-letter code for the country of the address. For example, US.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="firstname-2025-01">
          <div class="field-name">
            firstName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The first name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="lastname-2025-01">
          <div class="field-name">
            lastName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The last name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="latitude-2025-01">
          <div class="field-name">
            latitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2025-01"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate latitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="longitude-2025-01">
          <div class="field-name">
            longitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2025-01"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate longitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="market-2025-01">
          <div class="field-name">
            market
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/market"><code>Market</code></a>)
          </div>
          <div>
            <p>The market of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="name-2025-01">
          <div class="field-name">
            name
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The full name of the customer, based on firstName and lastName.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="phone-2025-01">
          <div class="field-name">
            phone
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>A unique phone number for the customer. Formatted using E.164 standard. For example, +16135551111.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="provincecode-2025-01">
          <div class="field-name">
            provinceCode
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The alphanumeric code for the region. For example, ON.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="zip-2025-01">
          <div class="field-name">
            zip
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2025-01"><code>String</code></a>)
          </div>
          <div>
            <p>The zip or postal code of the address.</p>
          </div>
        </div>
      </li>
  </ul>
  <h2 id="types-that-return-mailingaddress-2025-01">
    Types that return MailingAddress
  </h2>
  <ul>
    <li>
      <a href="/api/functions/reference/order-discounts/graphql/common-objects/cartdeliverygroup#deliveryaddress-2025-01">
        <code>CartDeliveryGroup.deliveryAddress</code>
      </a>
    </li>
  </ul>
</div><div class="doc-version" data-version="2024-10">
  <p>Represents a mailing address.</p>
    <div>
    <h2 id="on-this-page">On this page</h2>
    <ul>
      <li>
        <a href="#fields-2024-10">
          Fields
        </a>
      </li>
      <li>
        <a href="#types-that-return-mailingaddress-2024-10">
          Types that return MailingAddress
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-2024-10">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="address1-2024-10">
          <div class="field-name">
            address1
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The first line of the address. Typically the street address or PO Box number.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="address2-2024-10">
          <div class="field-name">
            address2
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The second line of the address. Typically the number of the apartment, suite, or unit.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="city-2024-10">
          <div class="field-name">
            city
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the city, district, village, or town.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="company-2024-10">
          <div class="field-name">
            company
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the customer's company or organization.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="countrycode-2024-10">
          <div class="field-name">
            countryCode
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/countrycode"><code>CountryCode</code></a>)
          </div>
          <div>
            <p>The two-letter code for the country of the address. For example, US.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="firstname-2024-10">
          <div class="field-name">
            firstName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The first name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="lastname-2024-10">
          <div class="field-name">
            lastName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The last name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="latitude-2024-10">
          <div class="field-name">
            latitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2024-10"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate latitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="longitude-2024-10">
          <div class="field-name">
            longitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2024-10"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate longitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="market-2024-10">
          <div class="field-name">
            market
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/market"><code>Market</code></a>)
          </div>
          <div>
            <p>The market of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="name-2024-10">
          <div class="field-name">
            name
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The full name of the customer, based on firstName and lastName.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="phone-2024-10">
          <div class="field-name">
            phone
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>A unique phone number for the customer. Formatted using E.164 standard. For example, +16135551111.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="provincecode-2024-10">
          <div class="field-name">
            provinceCode
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The alphanumeric code for the region. For example, ON.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="zip-2024-10">
          <div class="field-name">
            zip
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-10"><code>String</code></a>)
          </div>
          <div>
            <p>The zip or postal code of the address.</p>
          </div>
        </div>
      </li>
  </ul>
  <h2 id="types-that-return-mailingaddress-2024-10">
    Types that return MailingAddress
  </h2>
  <ul>
    <li>
      <a href="/api/functions/reference/order-discounts/graphql/common-objects/cartdeliverygroup#deliveryaddress-2024-10">
        <code>CartDeliveryGroup.deliveryAddress</code>
      </a>
    </li>
  </ul>
</div><div class="doc-version" data-version="2024-07">
  <p>Represents a mailing address.</p>
    <div>
    <h2 id="on-this-page">On this page</h2>
    <ul>
      <li>
        <a href="#fields-2024-07">
          Fields
        </a>
      </li>
      <li>
        <a href="#types-that-return-mailingaddress-2024-07">
          Types that return MailingAddress
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-2024-07">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="address1-2024-07">
          <div class="field-name">
            address1
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The first line of the address. Typically the street address or PO Box number.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="address2-2024-07">
          <div class="field-name">
            address2
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The second line of the address. Typically the number of the apartment, suite, or unit.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="city-2024-07">
          <div class="field-name">
            city
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the city, district, village, or town.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="company-2024-07">
          <div class="field-name">
            company
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the customer's company or organization.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="countrycode-2024-07">
          <div class="field-name">
            countryCode
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/countrycode"><code>CountryCode</code></a>)
          </div>
          <div>
            <p>The two-letter code for the country of the address. For example, US.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="firstname-2024-07">
          <div class="field-name">
            firstName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The first name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="lastname-2024-07">
          <div class="field-name">
            lastName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The last name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="latitude-2024-07">
          <div class="field-name">
            latitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2024-07"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate latitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="longitude-2024-07">
          <div class="field-name">
            longitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2024-07"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate longitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="market-2024-07">
          <div class="field-name">
            market
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/market"><code>Market</code></a>)
          </div>
          <div>
            <p>The market of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="name-2024-07">
          <div class="field-name">
            name
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The full name of the customer, based on firstName and lastName.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="phone-2024-07">
          <div class="field-name">
            phone
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>A unique phone number for the customer. Formatted using E.164 standard. For example, +16135551111.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="provincecode-2024-07">
          <div class="field-name">
            provinceCode
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The alphanumeric code for the region. For example, ON.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="zip-2024-07">
          <div class="field-name">
            zip
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-07"><code>String</code></a>)
          </div>
          <div>
            <p>The zip or postal code of the address.</p>
          </div>
        </div>
      </li>
  </ul>
  <h2 id="types-that-return-mailingaddress-2024-07">
    Types that return MailingAddress
  </h2>
  <ul>
    <li>
      <a href="/api/functions/reference/order-discounts/graphql/common-objects/cartdeliverygroup#deliveryaddress-2024-07">
        <code>CartDeliveryGroup.deliveryAddress</code>
      </a>
    </li>
  </ul>
</div><div class="doc-version" data-version="2024-04">
  <p>Represents a mailing address.</p>
    <div>
    <h2 id="on-this-page">On this page</h2>
    <ul>
      <li>
        <a href="#fields-2024-04">
          Fields
        </a>
      </li>
      <li>
        <a href="#types-that-return-mailingaddress-2024-04">
          Types that return MailingAddress
        </a>
      </li>
    </ul>
  </div>
<h2 id="fields-2024-04">
  Fields
</h2>
  <ul class="fields">
      <li>
        <div class="field" id="address1-2024-04">
          <div class="field-name">
            address1
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The first line of the address. Typically the street address or PO Box number.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="address2-2024-04">
          <div class="field-name">
            address2
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The second line of the address. Typically the number of the apartment, suite, or unit.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="city-2024-04">
          <div class="field-name">
            city
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the city, district, village, or town.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="company-2024-04">
          <div class="field-name">
            company
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The name of the customer's company or organization.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="countrycode-2024-04">
          <div class="field-name">
            countryCode
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/countrycode"><code>CountryCode</code></a>)
          </div>
          <div>
            <p>The two-letter code for the country of the address. For example, US.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="firstname-2024-04">
          <div class="field-name">
            firstName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The first name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="lastname-2024-04">
          <div class="field-name">
            lastName
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The last name of the customer.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="latitude-2024-04">
          <div class="field-name">
            latitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2024-04"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate latitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="longitude-2024-04">
          <div class="field-name">
            longitude
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#float-2024-04"><code>Float</code></a>)
          </div>
          <div>
            <p>The approximate longitude of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="market-2024-04">
          <div class="field-name">
            market
            (<a href="/api/functions/reference/order-discounts/graphql/common-objects/market"><code>Market</code></a>)
          </div>
          <div>
            <p>The market of the address.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="name-2024-04">
          <div class="field-name">
            name
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The full name of the customer, based on firstName and lastName.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="phone-2024-04">
          <div class="field-name">
            phone
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>A unique phone number for the customer. Formatted using E.164 standard. For example, +16135551111.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="provincecode-2024-04">
          <div class="field-name">
            provinceCode
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The alphanumeric code for the region. For example, ON.</p>
          </div>
        </div>
      </li>
      <li>
        <div class="field" id="zip-2024-04">
          <div class="field-name">
            zip
            (<a href="/api/functions/reference/order-discounts/graphql/scalar#string-2024-04"><code>String</code></a>)
          </div>
          <div>
            <p>The zip or postal code of the address.</p>
          </div>
        </div>
      </li>
  </ul>
  <h2 id="types-that-return-mailingaddress-2024-04">
    Types that return MailingAddress
  </h2>
  <ul>
    <li>
      <a href="/api/functions/reference/order-discounts/graphql/common-objects/cartdeliverygroup#deliveryaddress-2024-04">
        <code>CartDeliveryGroup.deliveryAddress</code>
      </a>
    </li>
  </ul>
</div>