Home > @shopware-pwa/shopware-6-client > getSeoUrls
# getSeoUrls() function
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns an array of SEO URLs for given entity Can be used for other languages as well by providing the languageId
Signature:
export declare function getSeoUrls(entityId: string, languageId?: string, contextInstance?: ShopwareApiInstance): Promise<{
apiAlias: string;
seoPathInfo: string;
}[]>;
# Parameters
Parameter | Type | Description |
---|---|---|
entityId | string | |
languageId | string | |
contextInstance | ShopwareApiInstance |
Returns:
Promise<{ apiAlias: string; seoPathInfo: string; }[]>