Send feedback
Sample Feed
Stay organized with collections
Save and categorize content based on your preferences.
Partners can upload feeds for
FoodOrderingMetadata as part of an action_link
based on
the fulfilment method supported by the Merchant:
Merchants supporting Takeout Only
Merchants supporting Delivery Only
Merchants Supporting Takeout and Delivery
Merchants Supporting Takeout and Delivery with no fees and displaying minimum expected
fulfillment time
Takeout Only
{
"metadata" : {
"generation_timestamp" : "1467993600" ,
"processing_instruction" : "PROCESS_AS_COMPLETE" ,
"total_shards" : 1
},
"merchant" : [
{
"merchant_id" : "merchant_foepa_2" ,
"name" : "Sample Food Ordering Restaurant" ,
"telephone" : "+1-650-123-4567" ,
"url" : "https://www.restaurantwebsite.com" ,
"category" : "restaurant" ,
"geo" : {
"address" : {
"street_address" : "803 11th Avenue" ,
"locality" : "Sunnyvale" ,
"region" : "CA" ,
"country" : "USA" ,
"postal_code" : "94089"
}
},
"action_link" : [
{
"url" : "https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_2" ,
"action_link_type" : "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT" ,
"language" : "en" ,
"platform" : "ACTION_PLATFORM_WEB_APPLICATION" ,
"food_ordering_metadata" : {
"fee_details" : [
{
"type" : "SERVICE" ,
"fee_amount" : {
"amount" : {
"currency_code" : "USD" ,
"units" : 1 ,
"nanos" : 750000000
}
}
}
],
"fulfillment_lead_time_duration" : {
"seconds" : 1800
},
"advance_order_details" : {
"is_supported" : true
}
}
}
]
}
]
}
Delivery Only
{
"metadata" : {
"generation_timestamp" : "1467993600" ,
"processing_instruction" : "PROCESS_AS_COMPLETE" ,
"total_shards" : 1
},
"merchant" : [
{
"merchant_id" : "merchant_foepa_1" ,
"name" : "Sample Food Ordering Restaurant" ,
"telephone" : "+1-650-123-4567" ,
"url" : "https://www.restaurantwebsite.com" ,
"category" : "restaurant" ,
"geo" : {
"address" : {
"street_address" : "803 11th Avenue" ,
"locality" : "Sunnyvale" ,
"region" : "CA" ,
"country" : "USA" ,
"postal_code" : "94089"
}
},
"action_link" : [
{
"url" : "https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_1" ,
"action_link_type" : "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY" ,
"language" : "en" ,
"platform" : "ACTION_PLATFORM_WEB_APPLICATION" ,
"food_ordering_metadata" : {
"fee_details" : [
{
"type" : "DELIVERY" ,
"fee_amount" : {
"amount_range" : {
"min_amount" : {
"currency_code" : "USD" ,
"units" : 1 ,
"nanos" : 750000000
},
"max_amount" : {
"currency_code" : "USD" ,
"units" : 3 ,
"nanos" : 750000000
}
}
}
},
{
"type" : "SERVICE" ,
"fee_amount" : {
"cart_percentage" : {
"value" : 5.6
}
}
}
],
"fulfillment_lead_time_duration" : {
"seconds" : 1800
},
"advance_order_details" : {
"is_supported" : true
}
}
}
]
}
]
}
Takeout & Delivery
{
"metadata" : {
"generation_timestamp" : "1467993600" ,
"processing_instruction" : "PROCESS_AS_COMPLETE" ,
"total_shards" : 1
},
"merchant" : [
{
"merchant_id" : "merchant_foepa_3" ,
"name" : "Sample Food Ordering Restaurant" ,
"telephone" : "+1-650-123-4567" ,
"url" : "https://www.restaurantwebsite.com" ,
"category" : "restaurant" ,
"geo" : {
"address" : {
"street_address" : "803 11th Avenue" ,
"locality" : "Sunnyvale" ,
"region" : "CA" ,
"country" : "USA" ,
"postal_code" : "94089"
}
},
"action_link" : [
{
"url" : "https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_3" ,
"action_link_type" : "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT" ,
"language" : "en" ,
"platform" : "ACTION_PLATFORM_WEB_APPLICATION" ,
"food_ordering_metadata" : {
"fee_details" : [
{
"type" : "SERVICE" ,
"fee_amount" : {
"amount" : {
"currency_code" : "USD" ,
"units" : 1 ,
"nanos" : 750000000
}
}
}
],
"fulfillment_lead_time_duration" : {
"seconds" : 1800
},
"advance_order_details" : {
"is_supported" : true
}
}
},
{
"url" : "https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_3" ,
"action_link_type" : "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY" ,
"language" : "en" ,
"platform" : "ACTION_PLATFORM_WEB_APPLICATION" ,
"food_ordering_metadata" : {
"fee_details" : [
{
"type" : "DELIVERY" ,
"fee_amount" : {
"amount_range" : {
"min_amount" : {
"currency_code" : "USD" ,
"units" : 1 ,
"nanos" : 750000000
},
"max_amount" : {
"currency_code" : "USD" ,
"units" : 3 ,
"nanos" : 750000000
}
}
}
},
{
"type" : "SERVICE" ,
"fee_amount" : {
"cart_percentage" : {
"value" : 5.6
}
}
}
],
"fulfillment_lead_time_duration_range" : {
"min_duration" : {
"seconds" : 1850
},
"max_duration" : {
"seconds" : 2400
}
},
"advance_order_details" : {
"is_supported" : true
}
}
}
]
}
]
}
No fee & Min time ranges
This merchant has a $0 delivery and service fee for both takeout and delivery. This merchant
expects to fulfill takeout orders in 10 minutes or longer and delivery orders in 30 minutes or
longer. (The partner may display a more precise and up-to-date time on their landing page.)
{
"metadata" : {
"generation_timestamp" : "1467993600" ,
"processing_instruction" : "PROCESS_AS_COMPLETE" ,
"total_shards" : 1
},
"merchant" : [
{
"merchant_id" : "merchant_foepa_4" ,
"name" : "Sample Food Ordering Restaurant" ,
"telephone" : "+1-650-123-4567" ,
"url" : "https://www.restaurantwebsite.com" ,
"category" : "restaurant" ,
"geo" : {
"address" : {
"street_address" : "803 11th Avenue" ,
"locality" : "Sunnyvale" ,
"region" : "CA" ,
"country" : "USA" ,
"postal_code" : "94089"
}
},
"action_link" : [
{
"url" : "https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_4" ,
"action_link_type" : "ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT" ,
"language" : "en" ,
"platform" : "ACTION_PLATFORM_WEB_APPLICATION" ,
"food_ordering_metadata" : {
"fee_details" : [
{
"type" : "SERVICE" ,
"fee_amount" : {
"amount" : {
"currencyCode" : "USD" ,
"units" : 0 ,
"nanos" : 0
}
}
}
],
"fulfillment_lead_time_duration_range" : {
"min_duration" : {
"seconds" : 600
}
}
}
},
{
"url" : "https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_4" ,
"action_link_type" : "ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY" ,
"language" : "en" ,
"platform" : "ACTION_PLATFORM_WEB_APPLICATION" ,
"food_ordering_metadata" : {
"fee_details" : [
{
"type" : "SERVICE" ,
"fee_amount" : {
"amount" : {
"currencyCode" : "USD" ,
"units" : 0 ,
"nanos" : 0
}
}
},
{
"type" : "DELIVERY" ,
"fee_amount" : {
"amount" : {
"currencyCode" : "USD" ,
"units" : 0 ,
"nanos" : 0
}
}
}
],
"fulfillment_lead_time_duration_range" : {
"min_duration" : {
"seconds" : 1800
}
}
}
}
]
}
]
}
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
Need to tell us more?
[[["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 2025-05-20 UTC."],[[["\u003cp\u003ePartners can upload \u003ccode\u003eFoodOrderingMetadata\u003c/code\u003e feeds within \u003ccode\u003eaction_link\u003c/code\u003e to specify merchant fulfillment methods like takeout, delivery, or both.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFoodOrderingMetadata\u003c/code\u003e includes details like fees, fulfillment lead times, and advance order support.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can provide fee details as fixed amounts, ranges, or percentages based on the cart total.\u003c/p\u003e\n"],["\u003cp\u003eFulfillment lead times can be specified as exact durations or ranges for greater flexibility.\u003c/p\u003e\n"],["\u003cp\u003eMerchants supporting both takeout and delivery will provide two separate \u003ccode\u003eaction_link\u003c/code\u003e entries within their feed, one for each fulfillment method.\u003c/p\u003e\n"]]],["Partners upload feeds with `action_link` and `FoodOrderingMetadata` for merchants supporting takeout, delivery, or both. Data includes merchant ID, name, address, and action links with order type. `food_ordering_metadata` specifies service and delivery fees, either fixed amounts, ranges, or percentages. Fulfillment lead times are defined, with options for exact durations or minimum/maximum ranges. Some merchants offer zero fees and specify minimum expected fulfillment times for orders.\n"],null,["# Sample Feed\n\nPartners can upload feeds for\n[FoodOrderingMetadata](/actions-center/verticals/ordering/redirect/reference/feeds/merchants-feed#FoodOrderingMetadata-definition) as part of an `action_link` based on\nthe fulfilment method supported by the Merchant:\n\n1. Merchants supporting Takeout Only\n2. Merchants supporting Delivery Only\n3. Merchants Supporting Takeout and Delivery\n4. Merchants Supporting Takeout and Delivery with no fees and displaying minimum expected fulfillment time\n\n### Takeout Only\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\": \"merchant_foepa_2\",\n \"name\": \"Sample Food Ordering Restaurant\",\n \"telephone\": \"+1-650-123-4567\",\n \"url\": \"https://www.restaurantwebsite.com\",\n \"category\": \"restaurant\",\n \"geo\": {\n \"address\": {\n \"street_address\": \"803 11th Avenue\",\n \"locality\": \"Sunnyvale\",\n \"region\": \"CA\",\n \"country\": \"USA\",\n \"postal_code\": \"94089\"\n }\n },\n \"action_link\": [\n {\n \"url\": \"https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_2\",\n \"action_link_type\": \"ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT\",\n \"language\": \"en\",\n \"platform\": \"ACTION_PLATFORM_WEB_APPLICATION\",\n \"food_ordering_metadata\": {\n \"fee_details\": [\n {\n \"type\": \"SERVICE\",\n \"fee_amount\": {\n \"amount\": {\n \"currency_code\": \"USD\",\n \"units\": 1,\n \"nanos\": 750000000\n }\n }\n }\n ],\n \"fulfillment_lead_time_duration\": {\n \"seconds\": 1800\n },\n \"advance_order_details\": {\n \"is_supported\": true\n }\n }\n }\n ]\n }\n ]\n}\n```\n\n### Delivery Only\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\": \"merchant_foepa_1\",\n \"name\": \"Sample Food Ordering Restaurant\",\n \"telephone\": \"+1-650-123-4567\",\n \"url\": \"https://www.restaurantwebsite.com\",\n \"category\": \"restaurant\",\n \"geo\": {\n \"address\": {\n \"street_address\": \"803 11th Avenue\",\n \"locality\": \"Sunnyvale\",\n \"region\": \"CA\",\n \"country\": \"USA\",\n \"postal_code\": \"94089\"\n }\n },\n \"action_link\": [\n {\n \"url\": \"https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_1\",\n \"action_link_type\": \"ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY\",\n \"language\": \"en\",\n \"platform\": \"ACTION_PLATFORM_WEB_APPLICATION\",\n \"food_ordering_metadata\": {\n \"fee_details\": [\n {\n \"type\": \"DELIVERY\",\n \"fee_amount\": {\n \"amount_range\": {\n \"min_amount\": {\n \"currency_code\": \"USD\",\n \"units\": 1,\n \"nanos\": 750000000\n },\n \"max_amount\": {\n \"currency_code\": \"USD\",\n \"units\": 3,\n \"nanos\": 750000000\n }\n }\n }\n }, \n {\n \"type\": \"SERVICE\",\n \"fee_amount\": {\n \"cart_percentage\": {\n \"value\": 5.6\n }\n }\n }\n ],\n \"fulfillment_lead_time_duration\": {\n \"seconds\": 1800\n },\n \"advance_order_details\": {\n \"is_supported\": true\n }\n }\n }\n ]\n }\n ]\n}\n```\n\n### Takeout \\& Delivery\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\": \"merchant_foepa_3\",\n \"name\": \"Sample Food Ordering Restaurant\",\n \"telephone\": \"+1-650-123-4567\",\n \"url\": \"https://www.restaurantwebsite.com\",\n \"category\": \"restaurant\",\n \"geo\": {\n \"address\": {\n \"street_address\": \"803 11th Avenue\",\n \"locality\": \"Sunnyvale\",\n \"region\": \"CA\",\n \"country\": \"USA\",\n \"postal_code\": \"94089\"\n }\n },\n \"action_link\": [\n {\n \"url\": \"https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_3\",\n \"action_link_type\": \"ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT\",\n \"language\": \"en\",\n \"platform\": \"ACTION_PLATFORM_WEB_APPLICATION\",\n \"food_ordering_metadata\": {\n \"fee_details\": [\n {\n \"type\": \"SERVICE\",\n \"fee_amount\": {\n \"amount\": {\n \"currency_code\": \"USD\",\n \"units\": 1,\n \"nanos\": 750000000\n }\n }\n }\n ],\n \"fulfillment_lead_time_duration\": {\n \"seconds\": 1800\n },\n \"advance_order_details\": {\n \"is_supported\": true\n }\n }\n },\n {\n \"url\": \"https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_3\",\n \"action_link_type\": \"ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY\",\n \"language\": \"en\",\n \"platform\": \"ACTION_PLATFORM_WEB_APPLICATION\",\n \"food_ordering_metadata\": {\n \"fee_details\": [\n {\n \"type\": \"DELIVERY\",\n \"fee_amount\": {\n \"amount_range\": {\n \"min_amount\": {\n \"currency_code\": \"USD\",\n \"units\": 1,\n \"nanos\": 750000000\n },\n \"max_amount\": {\n \"currency_code\": \"USD\",\n \"units\": 3,\n \"nanos\": 750000000\n }\n }\n }\n }, \n {\n \"type\": \"SERVICE\",\n \"fee_amount\": {\n \"cart_percentage\": {\n \"value\": 5.6\n }\n }\n }\n ],\n \"fulfillment_lead_time_duration_range\": {\n \"min_duration\": {\n \"seconds\": 1850\n },\n \"max_duration\": {\n \"seconds\": 2400\n }\n },\n \"advance_order_details\": {\n \"is_supported\": true\n }\n }\n }\n ]\n }\n ]\n}\n```\n\n### No fee \\& Min time ranges\n\nThis merchant has a $0 delivery and service fee for both takeout and delivery. This merchant\nexpects to fulfill takeout orders in 10 minutes or longer and delivery orders in 30 minutes or\nlonger. (The partner may display a more precise and up-to-date time on their landing page.) \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\": \"merchant_foepa_4\",\n \"name\": \"Sample Food Ordering Restaurant\",\n \"telephone\": \"+1-650-123-4567\",\n \"url\": \"https://www.restaurantwebsite.com\",\n \"category\": \"restaurant\",\n \"geo\": {\n \"address\": {\n \"street_address\": \"803 11th Avenue\",\n \"locality\": \"Sunnyvale\",\n \"region\": \"CA\",\n \"country\": \"USA\",\n \"postal_code\": \"94089\"\n }\n },\n \"action_link\": [\n {\n \"url\": \"https://www.rwgpartnerwebsite.com/foodorderpickup/merchant_foepa_4\",\n \"action_link_type\": \"ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT\",\n \"language\": \"en\",\n \"platform\": \"ACTION_PLATFORM_WEB_APPLICATION\",\n \"food_ordering_metadata\": {\n \"fee_details\": [\n {\n \"type\": \"SERVICE\",\n \"fee_amount\": {\n \"amount\": {\n \"currencyCode\": \"USD\",\n \"units\": 0,\n \"nanos\": 0\n }\n }\n }\n ],\n \"fulfillment_lead_time_duration_range\": {\n \"min_duration\": {\n \"seconds\": 600\n }\n }\n }\n },\n {\n \"url\": \"https://www.rwgpartnerwebsite.com/foodorderdelivery/merchant_foepa_4\",\n \"action_link_type\": \"ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY\",\n \"language\": \"en\",\n \"platform\": \"ACTION_PLATFORM_WEB_APPLICATION\",\n \"food_ordering_metadata\": {\n \"fee_details\": [\n {\n \"type\": \"SERVICE\",\n \"fee_amount\": {\n \"amount\": {\n \"currencyCode\": \"USD\",\n \"units\": 0,\n \"nanos\": 0\n }\n }\n },\n {\n \"type\": \"DELIVERY\",\n \"fee_amount\": {\n \"amount\": {\n \"currencyCode\": \"USD\",\n \"units\": 0,\n \"nanos\": 0\n }\n }\n }\n ],\n \"fulfillment_lead_time_duration_range\": {\n \"min_duration\": {\n \"seconds\": 1800\n }\n }\n }\n }\n ]\n }\n ]\n}\n```"]]