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.
OrderOptions
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
OrderOptions define options associated with an order, including the ability to request a delivery address and specify user information options.
The requestDeliveryAddress field is a boolean that, if true, indicates a delivery address is required for the order.
The userInfoOptions field is an object that allows the app to request specific user information, which will be displayed in the ProposedOrderCard for user confirmation.
UserInfoOptions contain a list of userInfoProperties, which are enums representing specific user information fields that can be requested.
[[["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 provided content outlines the structure for defining order options and user information requests. `requestDeliveryAddress` (boolean) determines if a delivery address is mandatory for an order. `userInfoOptions` (object) allows apps to request user data; if set, these fields appear in the ProposedOrderCard. `userInfoOptions` contains `userInfoProperties`, which lists the specific user information properties being requested as an array of enum. Each element can be a field of the `UserInfoProperty`.\n"]]