Supplier Categories
Return all available Suppliers Categories.
Parameters
includequery string
Include associations (delimited with comma). Available associations: suppliers.
localequery string
Current locale of Foodetective app. Locale options: ar, de, en, es, fr, it, ms, pt, ru, zh-CN
pagequery integer
Page offset to fetch.
per_pagequery integer
Number of results to return per page.
{
const res = await fetch(`${BASE_URL}/api/v1/supplier_categories`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(data)});
const data = await res.json();
}