Home > @shopware-pwa/shopware-6-client > getCmsPage

# getCmsPage() function

Warning: This API is now obsolete.

the method is becoming obsolete and will be removed in the future as the SwagShopwarePwa plugin won't be needed.

Signature:

export declare function getCmsPage(path: string, criteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<CmsPageResponse>;

# Parameters

Parameter Type Description
path string
criteria ShopwareSearchParams
contextInstance ShopwareApiInstance

Returns:

Promise<CmsPageResponse>

# Exceptions

ClientApiError