---
schema_version: "1"
id: 38df6b2ed45ef80af98439db7da6ec48a1b3aa71b174a7adb39ef7b8e47ec19c
title: High-Scale Orders and Deduplication
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_high_scale_orders_and_deduplication.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_high_scale_orders_and_deduplication.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6b5fa590cf6946a4c146ec861a1f2cc13ad4f59161c4e9ee67cd1e54f2d0e447
description: High-Scale Orders uses the Pending Order Summaries REST API to create summaries from order summary graphs. Entities included in the request parameter aren't subject to deduplication rules.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# High-Scale Orders and Deduplication

High-Scale Orders uses the Pending Order Summaries REST API to create summaries from order summary graphs. Entities included in the request parameter aren't subject to deduplication rules.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.om_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

If a request has entity details in the PurchaseSupportDetails section, the Pending Order Summaries REST API uses deduplication logic to determine whether to update an existing record or create a record. Duplicate entities within the request that aren't in the database won't be deduplicated.

Importing historical orders with the same Account or ContactId can result in duplicate Account/Contact creation or OrderCreationFailureSending orders with inaccurate or outdated data and can cause problems that are hard to fix later. Before sending orders to Salesforce Order Management, upload new information for Account, Contact, Product2, PricebookEntry, Promotion, WebStore, SalesChannel, and OrderDeliveryMethod.

This table lists the Pending Order Summaries REST API entities and their corresponding deduplication logic.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:39.682539682539684%">
        <col style="width:60.317460317460316%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d34093e71">Entity</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d34093e74">Deduplication Logic</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">Account, Person Account, Contact</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 "><a name="om_high_scale_orders_and_deduplication__ul_lkc_wt1_s2c"><!-- --></a>
            <ul id="om_high_scale_orders_and_deduplication__ul_lkc_wt1_s2c">
              <li>When you create Account, Person Account, and Contact <a href="https://help.salesforce.com/s/articleView?id=sales.duplicate_rules_map_of_reference.htm&amp;type=5&amp;language=en_US" target="_blank">Duplicate Rules</a> and
                <a href="https://help.salesforce.com/s/articleView?id=sales.matching_rule_map_of_reference.htm&amp;type=5&amp;language=en_US" target="_blank">Matching Rules</a>, the API calls these rules
                to find duplicates. For Contact, an AccountId is required to use duplication
                rules.
              </li>

              <li>For Person Account, <a href="https://help.salesforce.com/s/articleView?id=sales.account_person.htm&amp;type=5&amp;language=en_US" target="_blank">Person Accounts</a> must be enabled.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">Pricebook2</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 ">Only Standard Price Book lookup is supported. If a Pricebook2 node is included in
            the request, the Standard Price Book ID is queried and used.</td>

        </tr>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">Product2</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 ">Deduplication is based on ProductCode. If an existing Product2 with the same
            ProductCode is found, it’s used.</td>

        </tr>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">PricebookEntry</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 "><a name="om_high_scale_orders_and_deduplication__ul_mkc_wt1_s2c"><!-- --></a>
            <ul id="om_high_scale_orders_and_deduplication__ul_mkc_wt1_s2c">
              <li>For a single currency Salesforce org, deduplication is based on Pricebook2Id and
                Product2Id. </li>

              <li>For a multicurrency Salesforce org, deduplication is based on Pricebook2Id,
                Product2Id, and CurrencyIsoCode. If you don’t specify the CurrencyIsoCode, the
                default CurrencyIsoCode is used.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">SalesChannel</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 ">Deduplication is based on the SalesChannelName field.</td>

        </tr>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">Promotion</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 ">Deduplication is based on the Name field.</td>

        </tr>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">WebStore</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 ">Deduplication is based on the ExternalReference field.</td>

        </tr>
        <tr class="">
          <td data-label="Entity" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e71 ">OrderDeliveryMethod</td>

          <td data-label="Deduplication Logic" class="slds-cell-wrap" style="vertical-align:top;" headers="d34093e74 ">Deduplication is based on the ReferenceNumber field.</td>

        </tr>
      </tbody>
    </table>

#### See Also

- [High-Scale Orders](https://help.salesforce.com/s/articleView?id=commerce.om_high_scale_overview.htm&type=5&language=en_US)
- [Manually Import a Pending Order Summary](https://help.salesforce.com/s/articleView?id=commerce.om_order_summary_manual_import.htm&language=en_US)
- [Order Summaries](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_sfom_order_summaries.htm)
- [PendingOrderSummary](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_pendingordersummary.htm)
- [Pending Order Summaries](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_sfom_pending_order_summaries.htm)