Appearance
getLandingPage ​
Definition ​
Fetches a landing page entity
Signature ​
ts
export async function getLandingPage(
landingPageId: string,
params?: ShopwareSearchParams,
contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<LandingPage>
Parameters ​
Name | Type | Description |
---|---|---|
landingPageId | string | id of the landing page |
params | ShopwareSearchParams | search criteria for landing page |
contextInstance | ShopwareApiInstance | instance of the api client (by default it's an Axios instance) |
Return type ​
ts
Promise<LandingPage>
Usage example ​
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.