Skip to main content

Type Alias: GetShortcode()

GetShortcode: (productId, variantCode?) => Promise<string>

Parameters

productId: string

Id of the product

variantCode?: string

Selected configuration code string

Returns

Promise<string>

Generated short code