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

# getSeoUrls() function

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; }[]>