Restaurant Details
Get detailed information about a specific restaurant including operating hours, location, and full address. Requires providerId and sellerId from the nearby restaurants response.
Get Restaurant Details
GET
/ret11/api/restaurants/{providerId}/seller/{sellerId}
Auth Required
Include a Bearer token. See Authentication.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| providerId | string | required | Provider ID from nearby-restaurants. Example: pramaan_provider_1 |
| sellerId | string | required | Seller UUID from nearby-restaurants |
Example Request
GET /ret11/api/restaurants/pramaan_provider_1/seller/019b9e8e-baeb-7158-8090-14afa4db5c46
Response
Returns an array containing the restaurant detail object.
| Field | Type | Description |
|---|---|---|
| providerId | string | Provider identifier |
| name | string | Restaurant name |
| shortDesc | string | Short description |
| longDesc | string | Full description |
| images | string[] | Image URLs |
| rating | number | null | Average rating (null if no ratings yet) |
| sellerId | string | Seller UUID |
| days | string[] | Operating days. Values: "1" (Mon) through "7" (Sun). Example: ["1","2","3","4","5","6","7"] = open all week |
| openingTime | string | Opening time in HHMM format. Example: "1000" = 10:00 AM |
| closingTime | string | Closing time in HHMM format. Example: "2100" = 9:00 PM |
| locality | string | Locality/neighborhood |
| street | string | Street address |
| city | string | City name |
| areaCode | string | PIN code |
| lat | number | Latitude coordinate |
| lng | number | Longitude coordinate |
Response Example
[
{
"providerId": "pramaan_provider_1",
"name": "Pramaan Store 1",
"shortDesc": "Pramaan Store 1",
"longDesc": "Pramaan Store 1",
"images": ["https://example.com/store1.webp"],
"rating": null,
"sellerId": "019b78d7-1371-7017-a997-3f6429a2f663",
"days": ["1","2","3","4","5","6","7"],
"openingTime": "1000",
"closingTime": "2100",
"locality": "N. Caldwell",
"street": "633 Stagtrail Rd",
"city": "New Delhi",
"areaCode": "110030",
"lat": 28.5273,
"lng": 77.1821
}
]
Notes
Days Format
The days field uses numeric strings where "1" = Monday and "7" = Sunday. This follows the ONDC specification for day-of-week encoding.
Time fields (openingTime, closingTime) are 24-hour format without colon: "1000" = 10:00, "2100" = 21:00.