Join us at Google I/O from May 18 to 20 for discussions, learning, and a first look at our latest developer products. Register now.

Get order

Action ID
Search and view previous orders placed in an app. Populate the name of the ordered item using the intent parameter. Filter orders by date of the order using the order.orderDate intent parameter.

Locale support

Functionality Locales
Preview creation using App Actions test tool en-US, en-GB, en-CA, en-IN, en-BE, en-SG, en-AU, es-ES, pt-BR, id-ID
User invocation from Google Assistant en-US, en-GB, en-CA, en-IN, en-BE, en-SG, en-AU, es-ES, pt-BR, id-ID

Example queries

Other supported fields

The following fields represent information that users often provide to disambiguate their needs or otherwise improve their results:


Android Slices

We recommend implementing Android Slices for this built-in intent. An Android Slice presents information or interaction options from your app to improve user engagement in the Google Assistant.

Supported text values by field

Sample actions.xml

For information about the actions schema, read Create actions.xml.

Handle intent parameters as URL parameters

<?xml version="1.0" encoding="utf-8"?>
<!-- This is a sample actions.xml -->
  <action intentName="actions.intent.GET_ORDER">
    <fulfillment urlTemplate="myapp://custom-deeplink{?orderDate,name}">
      <!-- Eg. orderDate = "2018-06-17T15:00Z" -->
      <!-- (Optional) Require a field eg.orderDate for fulfillment with required="true" -->
      <parameter-mapping urlParameter="orderDate" intentParameter="order.orderDate" required="true" />
      <!-- Eg. name = "example name" -->
      <parameter-mapping urlParameter="name" intentParameter="" />

    <!-- Provide a fallback fulfillment with no required parameters. For example, to your app search or router deeplink -->
    <fulfillment urlTemplate="myapp://deeplink" />

JSON-LD sample

The following JSON-LD sample provides some example values that you can use in the App Actions test tool:

  "@context": "",
  "@type": "Order",
  "orderDate": "2018-06-17T15:00Z",
  "orderedItem": {
    "@type": "Product",
    "name": "example name"