Adding Starter action links

The update required to add Starter Integration information to an existing end-to-end feed only requires one change:

  • Add the ActionLink field for each relevant service in the Services feed.

The Merchant, Services and Availability feeds remain unchanged outside of this change.

Merchants

{
  "metadata": {
    "generation_timestamp": "1467993600",
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "total_shards": 1
  },
  "merchant": [
    {
      "merchant_id": "merch1",
      "name": "Sample Restaurant",
      "telephone": "+1-650-123-4567",
      "url": "https://www.restaurantpublicwebsite.com",
      "category": "restaurant",
      "geo": {
        "address": {
          "street_address": "803 11th Avenue",
          "locality": "Sunnyvale",
          "region": "CA",
          "country": "USA",
          "postal_code": "94089"
        }
      }
    },
    {
      "merchant_id": "merch2",
      "name": "Sample Bakery",
      "telephone": "+1-415-124-4567",
      "url": "https://www.bakerypublicwebsite.com",
      "category": "restaurant",
      "latitude": 37.422113,
      "longitude": -122.084041,
      "geo": {
        "address": {
          "street_address": "1600 Amphitheatre Pkwy",
          "locality": "Mountain View",
          "region": "CA",
          "country": "USA",
          "postal_code": "94043"
        }
      }
    }
  ]
}

Services

{
  "metadata": {
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "total_shards": 1,
    "nonce": "11203880",
    "generation_timestamp": 1524606581
  },
  "service": [
    {
      "merchant_id": "merch1",
      "localized_service_name": {
        "localized_value": [
          {
            "locale": "en",
            "value": "Reservation"
          }
        ]
      },
      "service_id": "1000",
      "prepayment_type": "NOT_SUPPORTED",
      "type": "SERVICE_TYPE_DINING_RESERVATION",
      "action_link": [
        {
          "url": "https://www.rwgpartnerwebsite.com/reserve_table/merch1",
          "language": "en",
          "platform": "ACTION_PLATFORM_MOBILE_WEB"
        },
        {
          "url": "https://www.rwgpartnerwebsite.com/reserve_table/merch1",
          "language": "en",
          "platform": "ACTION_PLATFORM_WEB_APPLICATION"
        }
      ]
    },
    {
      "merchant_id": "merch2",
      "localized_service_name": {
        "localized_value": [
          {
            "locale": "en",
            "value": "Reservation"
          }
        ]
      },
      "service_id": "1000",
      "prepayment_type": "NOT_SUPPORTED",
      "type": "SERVICE_TYPE_FOOD_ORDERING",
      "action_link": [
        {
          "url": "https://www.rwgpartnerwebsite.com/order_food/merch2"
        }
      ]
    }
  ]
}