ReferencesCore JavaScript SDK@spiffcommerce/corefunctionsFunction: shortenUrl()On this pageFunction: shortenUrl() shortenUrl(longUrl): Promise<string> Parameters longUrl string Returns Promise<string>