Product
Categories This endpoint lists all of the products within a given category. Categories aid in the organisation of products so that visitors may quickly find what they're looking for in the store. Payload# Response# product.categories.success
Url link of the category.
sub_categories
array [object]
optional Array of the category's sub-categories.
URL or file path to the image representing the category.
Usage# To perform the action of retriving the categories for a product, the developer may call the method categories()
as follows. More about adding Categories as a component in this clip. Events# This endpoint may trigger two events, the onCategoriesFetched and onCategoriesFailed events. onCategoriesFetched# This event is triggered when retriving the categories for a product is done without having any errors coming back from the backend. onCategoriesFailed# This event is triggered when retriving the categories for a product is not completed and an error has occurred. Modified at 2025-03-04 12:54:02