Skip to main content

Link

Represents a link to a resource, e.g. an image

type Link {
id: String
resourceId: String
type: PermalinkType
url: LocalizedString
alternateUrls: [LocalizedUrl]
redirect: RedirectLink
}

Fields​

id ● String​

The internal id of the link

resourceId ● String​

The id of the linked resource e.g product id

type ● PermalinkType​

The type of the link

url ● LocalizedString​

The url of the link

alternateUrls ● [LocalizedUrl]​

Alternative urls in case of redirect

Contains redirect information if the link requires it

Example​

{
"url": {
"language": "EN",
"value": "String"
},
"alternateUrls": [
{}
],
"redirect": {}
}