Skip to content

getSeoUrls

getSeoUrls

Definition

Returns an array of SEO URLs for given entity Can be used for other languages as well by providing the languageId

Signature

ts
export async function getSeoUrls(
  entityId: string,
  languageId?: string,
  contextInstance: ShopwareApiInstance = defaultInstance,
)

Parameters

NameTypeDescription
entityId
string
id of the entity
languageId
string
id of the language
contextInstance
ShopwareApiInstance
instance of the api client (by default it's an Axios instance)

Usage example

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz