Type Alias: GetProductThumbnail()
GetProductThumbnail: (
productId
,thumbConfig
,configurationCode
?,size
?,backgroundColor
?) =>Promise
<string
>
Parameters
• productId: string
ID of the product
• thumbConfig: ProductThumb
Thumbnail configuration object
• configurationCode?: string
Configuration code to generate view for. If not provided it will use default code
• size?: ThumbnailSize
Size of the image
• backgroundColor?: string
Background color to be used for generated image
Returns
Promise
<string
>
Image url