get https://apiv4.ordering.co////business/
This API endpoint is used to obtain a single business by id or slug.
Note: Business can be obtained by
id
orslug
,mode:dashboard
only works with user level 0 or 2.
Using Ordering SDK
// get as customer
const response = await ordering.businesses(businessId).parameters(parameters).get();
//With mode dashboard
const response = await ordering.businesses(bussinessId).asDashboard().get();