grubhub · Example Payload

Grubhub Merchant Example

Grubhub Merchant Example is an example object payload from grubhub, with 11 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

merchant_idexternal_idnamestatuspause_typeaddressphonetax_ratefulfillment_typesfulfillment_settingscuisine_types

Example Payload

Raw ↑
{
  "merchant_id": "ghm-1234567890",
  "external_id": "id-1234567890",
  "name": "Margherita Pizza",
  "status": "ONLINE",
  "pause_type": "HARD",
  "address": {
    "street_address": "111 W Washington St",
    "city": "Chicago",
    "state": "IL",
    "zip": "60602",
    "latitude": 41.8781,
    "longitude": -87.6298
  },
  "phone": "+13125550142",
  "tax_rate": 0.95,
  "fulfillment_types": [
    "DELIVERY"
  ],
  "fulfillment_settings": {
    "delivery_enabled": false,
    "pickup_enabled": false,
    "catering_enabled": true,
    "estimated_prep_time_minutes": 15,
    "delivery_radius_miles": 11.48,
    "minimum_order_amount": 19.92
  },
  "cuisine_types": [
    "STANDARD"
  ]
}