View general info for a merchant. The normal return type is a Merchant.

Request

HTTP Request

GET /merchant/{merchant_id}/

Parameters

Parameter Name Value Description
Required Parameters
merchant_id Integer The id of the merchant from the Search endpoint.
Optional Parameters
address string Passing an address will display the exact delivery fee for the given location, otherwise a range of delivery fees will be returned.

Request Body

Do not supply a request body with this method.

Responses

Success

HTTP 200 OK

Example

{
  "message": [
    
  ],
  "merchant": {
    "id": "3215",
    "location": {
      "street": "1584 2nd Ave",
      "city": "New York",
      "state": "NY",
      "zip": "10028",
      "longitude": -73.953285,
      "latitude": 40.775536,
      "landmark": "Corner of 2nd Ave. & 82nd St."
    },
    "summary": {
      "name": "Wasabi Lobby",
      "phone": "212-988-8882",
      "description": "Wasabi Lobby is an Asian fusion restaurant specializing in all things creative and innovative when it comes to sushi rolls.  Accompany your meal with a drink from Wasabi Lobby's selection of sake, beer, or wine!",
      "overall_rating": 82,
      "num_ratings": 164,
      "type": "R",
      "notes": "Array",
      "cuisines": [
        "Japanese"
      ],
      "url": {
        "geo_tag": "nyc",
        "short_tag": "wasabi-lobby",
        "complete": "https:\/\/staging.delivery.com\/nyc\/wasabi-lobby"
      },
      "activation_date": "2005-09-26"
    },
    "ordering": {
      "availability": {
        "pickup": false,
        "delivery": false,
        "next_pickup_time": "2014-01-28T11:30:00-0500",
        "next_delivery_time": "2014-01-28T11:30:00-0500"
      },
      "payment_types": [
        "credit",
        "gift card",
        "promotions",
        "cash"
      ],
      "time_needed": "15",
      "specials": [
           {
                "name": "10% Off for First Time Users",
                "type": "F"
           }
      ],
      "order_type": "delivery"
    },
    "minimum": {
      "delivery": {
        "lowest": 10,
        "highest": 10
      },
      "pickup": 5
    }
  }
}

Invalid Merchant Id

This is returned when an invalid merchant id is passed.
HTTP 400 Bad Request

Example

{
    "message": [
        { "code" : "no_rest",     "user_msg" : "Sorry, we weren't able to find the merchant." },
    ]
}