Business Widgets
Return all widgets for specific business.
Parameters
idpath integerRequired
Return all widgets by specific business
id
. You can retrieve thisid
from ...includequery string
Include associations (delimited with comma). Available associations: business.
pagequery number
Page offset to fetch.
per_pagequery number
Number of results to return per page.
{
const res = await fetch(`${BASE_URL}/api/v1/businesses/${id}/widgets`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}});
const data = await res.json();
}