Flux de commande de repas pour l'ancienne intégration de l'application de démarrage (obsolète)
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Marchands
{
"metadata": {
"generation_timestamp": "1467993600",
"processing_instruction": "PROCESS_AS_COMPLETE",
"total_shards": 1
},
"merchant": [
{
"merchant_id": "dining-starter-2",
"name": "Sample Bakery",
"telephone": "+1-415-124-4567",
"url": "www.starterdining2publicsite.com",
"category": "restaurant",
"geo": {
"latitude": 37.422113,
"longitude": -122.084041,
"address": {
"street_address": "805 11th Ave",
"locality": "Sunnyvale",
"region": "CA",
"country": "US",
"postal_code": "94089"
}
}
}
]
}
Services
{
"metadata": {
"generation_timestamp": "1467993600",
"processing_instruction": "PROCESS_AS_COMPLETE",
"total_shards": 1
},
"service": [
{
"merchant_id": "dining-starter-2",
"service_id": "order",
"localized_service_name": {
"value": "Order",
"localized_value": [
{
"locale": "en",
"value": "Order"
}
]
},
"type": "SERVICE_TYPE_FOOD_ORDERING",
"action_link": [
{
"url": "https://www.rwgpartnerwebsite.com/order_food/merch2",
"action_link_type": "ACTION_LINK_TYPE_ORDER_FOOD",
"language": "en",
"platform": "ACTION_PLATFORM_WEB_APPLICATION"
}
]
}
]
}
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eNew ordering feeds must now specify whether the fulfillment method is takeout or delivery.\u003c/p\u003e\n"],["\u003cp\u003eExisting feeds can still use the generic food ordering action links as previously documented.\u003c/p\u003e\n"],["\u003cp\u003eDetailed instructions on specifying the fulfillment type can be found in the "Differentiating between Ordering Delivery and Takeout Action Links" guide.\u003c/p\u003e\n"],["\u003cp\u003eCode samples are provided for both Ordering Takeout and Ordering Delivery in their respective guides.\u003c/p\u003e\n"],["\u003cp\u003eThe code snippets contain examples for merchant and service feeds that are to be used by partners.\u003c/p\u003e\n"]]],["New ordering feeds must now specify \"takeout\" or \"delivery\" as the fulfillment method; existing feeds can maintain current generic food ordering links. Refer to the provided guide for fulfillment type instructions and examples. The provided data showcases sample feeds with a merchant (\"Sample Bakery\") and a corresponding food ordering service linked to a URL for web-based food orders, all with specified metadata.\n"],null,["# Food ordering feeds for Legacy Starter integration (Deprecated)\n\n| **Note:** New Ordering feeds are now expected to specify a fulfilment method of takeout\n| or delivery. Exising feeds can continue to use generic food ordering action links documented\n| here.\n|\n|\n| For instructions on how to provide fulfilment type see the guide:\n| [Differentiating between Ordering Delivery and Takeout Action Links](/actions-center/verticals/legacy/reference/action-link-feeds/ordering-action-links-delivery-and-takeout).\n| Additionally, please refer to\n| [Ordering Takeout](/actions-center/verticals/legacy/reference/action-link-feeds/merchants-feed) or\n[Ordering Delivery](/actions-center/verticals/legacy/reference/action-link-feeds/merchants-feed) for code samples. \n\n### Merchants\n\n```json\n{\n \"metadata\": {\n \"generation_timestamp\": \"1467993600\",\n \"processing_instruction\": \"PROCESS_AS_COMPLETE\",\n \"total_shards\": 1\n },\n \"merchant\": [\n {\n \"merchant_id\": \"dining-starter-2\",\n \"name\": \"Sample Bakery\",\n \"telephone\": \"+1-415-124-4567\",\n \"url\": \"www.starterdining2publicsite.com\",\n \"category\": \"restaurant\",\n \"geo\": {\n \"latitude\": 37.422113,\n \"longitude\": -122.084041,\n \"address\": {\n \"street_address\": \"805 11th Ave\",\n \"locality\": \"Sunnyvale\",\n \"region\": \"CA\",\n \"country\": \"US\",\n \"postal_code\": \"94089\"\n }\n }\n }\n ]\n}\n```\n\n### Services\n\n```json\n{\n \"metadata\": {\n \"generation_timestamp\": \"1467993600\",\n \"processing_instruction\": \"PROCESS_AS_COMPLETE\",\n \"total_shards\": 1\n },\n \"service\": [\n {\n \"merchant_id\": \"dining-starter-2\",\n \"service_id\": \"order\",\n \"localized_service_name\": {\n \"value\": \"Order\",\n \"localized_value\": [\n {\n \"locale\": \"en\",\n \"value\": \"Order\"\n }\n ]\n },\n \"type\": \"SERVICE_TYPE_FOOD_ORDERING\",\n \"action_link\": [\n {\n \"url\": \"https://www.rwgpartnerwebsite.com/order_food/merch2\",\n \"action_link_type\": \"ACTION_LINK_TYPE_ORDER_FOOD\",\n \"language\": \"en\",\n \"platform\": \"ACTION_PLATFORM_WEB_APPLICATION\"\n }\n ]\n }\n ]\n}\n```"]]