Blog User Guide Documentation API Login Register

Documentation > Reference

API Helpers

Last updated February 16, 2024

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')