无接触送餐
端到端订购可为用户提供无接触式送货选项。如果用户在订单流程中选择无接触送餐,该 API 会将文字 “无接触送餐:请将所订餐品放在门外”附加到提交订单请求中发送的送货说明。
示例:
{
"coordinates": {
"latitude": 37.788783,
"longitude": -122.41384
},
"formattedAddress": "1350 CHARLESTON ROAD, MOUNTAIN VIEW, CA, United States",
"zipCode": "94043",
"city": "Mountain View",
"postalAddress": {
"regionCode": "US",
"postalCode": "94043",
"administrativeArea": "CA",
"locality": "Mountain View",
"addressLines": [
"1350 Charleston Road"
]
},
"notes": "Gate code is #111. No-contact delivery: Please leave order outside the door"
}
若要让您的集成能够使用无接触式送货选项,您必须支持以下功能:
使用 SubmitOrderRequestMessage 的 Location 实体(送货地址)的 notes
属性部分中发送的送货说明。
合作伙伴必须使用附加的文字“无接触送餐:请将所订餐品放在门外”来指明无接触送餐。
确认您是否支持这两项功能,并请您的 Google 顾问为您的集成启用无接触送货功能。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-26。
[null,null,["最后更新时间 (UTC):2024-11-26。"],[[["Ordering End-to-End provides a no-contact delivery option where customers can request orders to be left outside their door."],["To offer no-contact delivery, your integration must process the delivery instructions within the `notes` attribute of the `Location` entity in the `SubmitOrderRequestMessage`."],["The specific text \"No-contact delivery: Please leave order outside the door\" is appended to the delivery instructions to signal a no-contact delivery request."],["Partners need to confirm their support for these requirements and request enabling of the feature from their Google consultant."]]],["The API supports no-contact delivery by appending \"No-contact delivery: Please leave order outside the door\" to delivery instructions within the `notes` attribute of the delivery address. Integrations must consume these instructions from the `Location` entity in the `SubmitOrderRequestMessage`. Partners must use the specified text to indicate no-contact delivery and then confirm support for both features with their Google consultant to enable this delivery option.\n"]]