API Helpers

Available Methods

Method Listing

dispatcher()

The dispatcher method returns an instance of the internal API dispatcher. This is useful to get data from the API within Blade templates.

$category = dispatcher()->get('v1/bigcommerce/categories')

$navigation = dispatcher()->get('v1/navigation/top-menu/items')