Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see Conversational Actions sunset.
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Transaction functionalities for Conversational Actions are unavailable in Denmark, France, Germany, Italy, the Netherlands, Norway, Poland, Spain, and Sweden due to regulatory changes.
The Actions on Google Orders API enables developers to manage transactions for physical goods within their Actions.
Using the Orders API requires OAuth 2.0 authentication with a user token authorized for the https://www.googleapis.com/auth/actions.order scope.
A JSON payload example demonstrates the structure of an order containing details like buyer information, merchant details, items, pricing, and fulfillment information.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],["The core content details the JSON structure for merchant-provided payment methods. It specifies a required `merchantPaymentMethod` array, which contains a list of payment methods. An optional `defaultMerchantPaymentMethodId` can identify the preferred method. An optional `managePaymentMethodUrl` provides a link to the merchant's website for users to handle their payment options. This structure is essential for defining the available payment choices within a transaction.\n"]]