Appearance
getCategories ​
Definition ​
Get a list of categories by provided search criteria.
Signature ​
ts
export async function getCategories(
searchCriteria?: ShopwareSearchParams,
contextInstance: ShopwareApiInstance = defaultInstance,
)
Parameters ​
Name | Type | Description |
---|---|---|
searchCriteria | ShopwareSearchParams | |
contextInstance | ShopwareApiInstance | instance of the api client (by default it's an Axios instance) |
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.