Web APITypesType AliasesGetShortcodeOn this pageType 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