---
schema_version: "1"
id: 48a557e468ffb4796ded002ffdc9f63b35b342a4c1e628d97c0eab58f6ad19fc
title: ConnectApi.CommerceAddressCollection
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_commerce_address_collection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_commerce_address_collection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 40e3ebf664b4ea7b32bdfd945594e49f65c8f7889e5c7778c23bdba37d1e8442
description: A collection of Commerce addresses.
---
# ConnectApi.CommerceAddressCollection

A collection of Commerce addresses.

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d893899e50">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d893899e53">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d893899e56">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d893899e59">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">count</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                Integer
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="count"><a name="count"><!-- --></a>Count of addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">currentPageToken</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                String
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="currentPageToken"><a name="currentPageToken"><!-- --></a>Token to the current page of addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">currentPageUrl</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                String
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="currentPageUrl"><a name="currentPageUrl"><!-- --></a>URL to the current page of addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">items</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_commerce_address_output.htm" title="Address for a Commerce account."><samp class="codeph apex_code">ConnectApi.CommerceAddressOutput</samp></a>&gt;
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="items"><a name="items"><!-- --></a>Address Details</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">nextPageToken</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                String
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="nextPageToken"><a name="nextPageToken"><!-- --></a>Token to the next page of addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">nextPageUrl</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                String
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="nextPageUrl"><a name="nextPageUrl"><!-- --></a>URL to the next page of addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">pageSize</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                Integer
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="pageSize"><a name="pageSize"><!-- --></a>Page size for addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">previousPageToken</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                String
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="previousPageToken"><a name="previousPageToken"><!-- --></a>Token to previous page of addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">previousPageUrl</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                String
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                <span class="ph" id="previousPageUrl"><a name="previousPageUrl"><!-- --></a>URL to the previous page of addresses.</span>
              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d893899e50" data-title="Property Name">
                <samp class="codeph apex_code">sortOrder</samp>
              </td>

              <td class="entry" headers="d893899e53" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#ConnectCommerceAddressSortOrderEnum"><samp class="codeph apex_code">ConnectApi.CommerceAddressSort</samp></a>
              </td>

              <td class="entry" headers="d893899e56" data-title="Description">
                Sort order for Commerce addresses.<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">CreatedDateAsc</samp>—Sort in ascending order of created date.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">CreatedDateDesc</samp>—Sort in descending order of created date.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">NameAsc</samp>—Sort in ascending order of name.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">NameDesc</samp>—Sort in descending order of name.
                  </li>
                </ul>

              </td>

              <td class="entry" headers="d893899e59" data-title="Available Version">54.0</td>

            </tr>

          </tbody>

        </table>