There is a special params request in Business offers which is business
, this brings the main business information, not categories, products or menus.
An example to use this param is:
http://apiv4.ordering.co/v400/en/demo/business/41/offers?params=business_id,business
The param
business_id
is required whenbusiness
is used.
[
{
"id": 1,
"business_id": 41,
"business": {
"id": 41,
"name": "McBonalds t",
"email": "[email protected]",
"slug": "mcbonalds",
"schedule": [],
"description": "",
"about": "",
"logo": "https://res.cloudinary.com/ordering2/image/upload/v1523379984/vymo7gxbk73mms4kyz5l.jpg",
"header": "https://res.cloudinary.com/ordering2/image/upload/v1523379740/psz6waiyu4u2giom6grt.jpg",
"phone": "123123",
"cellphone": "123123123123",
"owner_id": 3,
"city_id": 1,
"address": "160 Broadway",
"address_notes": null,
"zipcode": null,
"location": {
"lat": 40.7127837,
"lng": -74.00594130000002,
"zipcode": -1,
"zoom": 15
},
"featured": false,
"timezone": "America/Tegucigalpa",
"currency": "USD",
"food": true,
"alcohol": false,
"groceries": false,
"laundry": false,
"use_printer": false,
"printer_id": null,
"minimum": 0,
"delivery_price": 0,
"always_deliver": false,
"tax_type": 1,
"tax": 10,
"delivery_time": "0:0",
"pickup_time": "0:0",
"service_fee": 9,
"fixed_usage_fee": 1,
"percentage_usage_fee": 10,
"enabled": true
}
}
]