พาร์ทเนอร์สามารถอัปโหลดฟีดสำหรับ FoodOrderingMetadata เป็นส่วนหนึ่งของ action_link
ได้ตามวิธีการดำเนินการที่ผู้ขายรองรับ ดังนี้
- ผู้ขายที่รองรับ Takeout เท่านั้น
- ผู้ขายที่รองรับการจัดส่งเท่านั้น
- ผู้ขายที่รองรับการซื้อกลับบ้านและบริการจัดส่ง
- ผู้ขายที่รองรับ Takeout และการนำส่งโดยไม่มีค่าธรรมเนียมและแสดงเวลาดำเนินการตามคำสั่งซื้อขั้นต่ำที่คาดไว้
สั่งกลับบ้านเท่านั้น
{ "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 } } } ] } ] }
จัดส่งเท่านั้น
{ "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 } } } ] } ] }
สั่งกลับบ้านและบริการจัดส่ง
{ "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 } } } ] } ] }
ไม่มีค่าธรรมเนียมและช่วงเวลาต่ำสุด
ผู้ขายรายนี้มีค่าจัดส่งและค่าบริการ $0 สำหรับทั้งสั่งกลับบ้านและบริการจัดส่ง ผู้ขายรายนี้คาดว่าจะนำส่งคำสั่งซื้อแบบสั่งกลับบ้านภายใน 10 นาทีหรือนานกว่านั้น และคำสั่งซื้อแบบจัดส่งภายใน 30 นาทีหรือนานกว่านั้น (พาร์ทเนอร์อาจแสดงเวลาที่แม่นยำและเป็นปัจจุบันมากกว่าในหน้า 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 } } } } ] } ] }