Supplier Product Categories
Return all available Suppliers Products.
Parameters
includequery string
Include associations (delimited with comma). Available associations: sub_categories.
sortquery string
Sort ascending or descending order.
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_product_categories`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(data)});
const data = await res.json();
}