---
schema_version: "1"
id: 86b591839af5368379ea11446feec537a9674861519562026292ec0b53a504e6
title: ConnectApi.OrderSummaryCollectionRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_order_summary_collection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_order_summary_collection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 72d28e617d8724a4dccb69ebe58246ddde66e497a9d9bc84e78e9884f708b096
description: Collection of order summaries.
---
# ConnectApi.OrderSummaryCollectionRepresentation

Collection of order summaries.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d1124697e27">Property Name</th>
              <th class="featureTableHeader vertical-align-top " id="d1124697e29">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d1124697e31">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d1124697e33">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">count</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type">Integer</td>
              <td class="entry" headers="d1124697e31" data-title="Description">Total count of order summaries returned on the current page.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">currentPageToken</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type">String</td>
              <td class="entry" headers="d1124697e31" data-title="Description">Token identifying the current page.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">currentPageUrl</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type">String</td>
              <td class="entry" headers="d1124697e31" data-title="Description">Connect REST API URL identifying the current page.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">nextPageToken</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type">String</td>
              <td class="entry" headers="d1124697e31" data-title="Description">Token identifying the next page, or <samp class="codeph apex_code"><span class="keyword">null</span></samp> if there isn’t a next page.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">nextPageUrl</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type">String</td>
              <td class="entry" headers="d1124697e31" data-title="Description">Connect REST API URL identifying the next page, or <samp class="codeph apex_code"><span class="keyword">null</span></samp> if there isn’t a next page.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">orderSummaries</samp></td>
              <td class="entry" headers="d1124697e29" 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_order_summary.htm" title="Order summary."><samp class="codeph apex_code">ConnectApi.​OrderSummary​Representation</samp></a>&gt;
              </td>
              <td class="entry" headers="d1124697e31" data-title="Description">Collection of order summaries.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">previousPageToken</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type">String</td>
              <td class="entry" headers="d1124697e31" data-title="Description">Token identifying the previous page, or <samp class="codeph apex_code"><span class="keyword">null</span></samp> if there isn’t a previous page.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">previousPageUrl</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type">String</td>
              <td class="entry" headers="d1124697e31" data-title="Description">Connect REST API URL identifying the previous page, or <samp class="codeph apex_code"><span class="keyword">null</span></samp> if there isn’t a previous page.</td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
            <tr>
              <td class="entry" headers="d1124697e27" data-title="Property Name"><samp class="codeph apex_code">sortOrder</samp></td>
              <td class="entry" headers="d1124697e29" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#OrderSummarySortEnum"><samp class="codeph apex_code">ConnectApi.​OrderSummary​SortOrder</samp></a></td>
              <td class="entry" headers="d1124697e31" data-title="Description">Sort order for order summaries. Values
                are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph apex_code">CreatedDateAsc</samp>—Sorts by the oldest created date.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">CreatedDateDesc</samp>—Sorts by the most recent created date.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">OrderedDateAsc</samp>—Sorts by the oldest ordered date.
                  </li>
                  <li class="li">
                    <samp class="codeph apex_code">OrderedDateDesc</samp>—Sorts by the most recent ordered date.
                  </li>
                </ul>
              </td>
              <td class="entry" headers="d1124697e33" data-title="Available Version">51.0</td>
            </tr>
          </tbody>
        </table>