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
The table outlines possible decisions a user can make regarding an order, such as accepting, rejecting, or requesting changes.
Users might be ineligible to transact, and the system has a response for that scenario.
If a user updates their delivery address or requests cart changes, the app must handle these interactions and update the order accordingly.
The actions.intent.TRANSACTION_DECISION intent should be called by the app after handling user decisions and updates.
Possible decisions regarding the order.
Enums
TRANSACTION_DECISION_UNSPECIFIED
Decision unspecified.
USER_CANNOT_TRANSACT
User is not eligible to perform this transaction.
ORDER_ACCEPTED
Order was accepted by user.
ORDER_REJECTED
Order was rejected by user.
DELIVERY_ADDRESS_UPDATED
User updates delivery address which requires order being updated. The app MUST call actions.intent.TRANSACTION_DECISION intent with the updated order.
CART_CHANGE_REQUESTED
User asks for changing cart, e.g. "change cart", "change something else". The app needs to handle cart change interaction with user and call actions.intent.TRANSACTION_DECISION intent once the cart is changed.
[[["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 document outlines possible decisions regarding an order, represented by enums. These include an unspecified decision, user ineligibility to transact, order acceptance or rejection. It also covers delivery address updates, requiring an update to the order via the `actions.intent.TRANSACTION_DECISION` intent. Furthermore, cart change requests necessitate handling cart interactions and subsequently calling the `actions.intent.TRANSACTION_DECISION` intent to reflect the changes.\n"]]