AI-generated Key Takeaways
-
This documentation is considered legacy, and new integrations should utilize Merchant feeds instead of Service feeds for Business Link or Redirect implementations.
-
The provided Merchant feed sample showcases a restaurant named "Sample Restaurant" with its essential information such as ID, contact details, location, and a dining reservation action link.
-
The Services feed sample demonstrates how to define a "Reservation" service associated with a specific merchant, including details like its type and the corresponding action link for making dining reservations.
-
Both Merchant and Service feed samples include metadata containing the timestamp and processing instruction which indicates the feed should be processed as complete.
Merchants
{ "metadata": { "generation_timestamp": "1467993600", "processing_instruction": "PROCESS_AS_COMPLETE", "total_shards": 1 }, "merchant": [ { "merchant_id": "dining-starter-1", "name": "Sample Restaurant", "telephone": "+1-650-123-4567", "url": "www.starterdining1publicsite.com", "category": "restaurant", "geo": { "latitude": 37.422113, "longitude": -122.084041, "address": { "street_address": "1170 Bordeaux Dr Building 3", "locality": "Sunnyvale", "region": "CA", "country": "US", "postal_code": "94089" } }, "action_link": [ { "url": "https://www.rwgpartnerwebsite.com/reserve_table/merch1", "action_link_type": "ACTION_LINK_TYPE_MAKE_DINING_RESERVATION", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }
Services
{ "metadata": { "generation_timestamp": "1467993600", "processing_instruction": "PROCESS_AS_COMPLETE", "total_shards": 1 }, "service": [ { "merchant_id": "dining-starter-1", "service_id": "reservation", "localized_service_name": { "value": "Reservation", "localized_value": [ { "locale": "en", "value": "Reservation" } ] }, "type": "SERVICE_TYPE_DINING_RESERVATION", "action_link": [ { "url": "https://www.rwgpartnerwebsite.com/reserve_table/merch1", "action_link_type": "ACTION_LINK_TYPE_MAKE_DINING_RESERVATION", "language": "en", "platform": "ACTION_PLATFORM_WEB_APPLICATION" } ] } ] }