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.

Create order

Action ID

Re-order a product that has previously been purchased. Determine the previous order to use by its description using the order.orderedItem.description parameter, if available.

Your app must confirm with the user before placing the order.

Locale support

Functionality Locales
Preview creation using App Actions test tool en-US
User invocation from Google Assistant en-US

Example queries

The following fields represent essential information that users often provide in queries that trigger this built-in intent:


Other supported fields

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


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.CREATE_ORDER">
    <fulfillment urlTemplate="myapp://custom-deeplink{?description}">
      <!-- Eg. description = "Shoes" -->
      <!-- (Optional) Require a field eg.description for fulfillment with required="true" -->
      <parameter-mapping urlParameter="description" intentParameter="order.orderedItem.description" required="true" />

    <!-- 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",
  "orderedItem": {
    "@type": "Product",
    "description": "Shoes"