Skip to content
On this page

getLandingPage

Definition

Fetches a landing page entity

Signature

ts
export async function getLandingPage(
  landingPageId: string,
  params?: ShopwareSearchParams,
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<LandingPage> 

Parameters

NameTypeDescription
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.

Open in StackBlitz

getLandingPage has loaded