---
schema_version: "1"
id: 4047caa35b019050f3ba5717b129c1de259ade3b5089f5e020dd97037c2cf559
title: Service | Get Orders By Contact
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/copilot_actions_ref_get_orders_by_contact.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.copilot_actions_ref_get_orders_by_contact.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 56f9bc65edea05ca7d380b45c5c0366c6fe3d20b0c1e5692e86144cd43008310
description: This action returns a list of orders associated with a given contact record.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Service | Get Orders By Contact

This action returns a list of orders associated with a given contact record.

### 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;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with Foundations, or <strong>Agentforce 1</strong> or <strong>Einstein 1</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:center;vertical-align:top;" id="d97058e77">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d97058e80">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d97058e77 d97058e80 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent
              Actions</a>.</td>

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

## Action Details

To use this action, customize it according to your business’s security standards. We recommend configuring your agent to confirm the requester's identity before completing this action on their behalf. See [Maintain Trust with Agentforce Actions](https://help.salesforce.com/s/articleView?id=service.service_agentforce_trusted_private_actions.htm&type=5&language=en_US).

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td dir="ltr" class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td dir="ltr" class="slds-cell-wrap" style="vertical-align:top;">GetOrdersByContact</td></tr><tr class=""><td dir="ltr" class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td dir="ltr" class="slds-cell-wrap" style="vertical-align:top;">Flow</td></tr><tr class=""><td dir="ltr" class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td dir="ltr" class="slds-cell-wrap" style="vertical-align:top;">Get Orders By Contact</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr></tbody></table>

## Considerations

- This action is a template containing example information. Customize it to your use case.