Appearance
getProducts
Definition
Get default amount of products
Signature
ts
export async function getProducts(
criteria?: ShopwareSearchParams,
contextInstance: ShopwareApiInstance = defaultInstance
)
Parameters
Name | Type | Description |
---|---|---|
criteria | ShopwareSearchParams | search criteria for products |
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.