Skip to main content

Type Alias: GetPodFilesUrl

GetPodFilesUrl = (shortCode) => Promise<string>

Function

Generates a download URL for POD (Print on Demand) files associated with a given product.

This function calls the storage service to prepare a ZIP archive of all user-added designs for the specified product and returns the URL to download it.

Parameters​

shortCode​

string

The unique short code identifying the product whose POD files should be downloaded

Returns​

Promise<string>

A promise resolving to the download URL string for the generated ZIP file

Example​

const url = await mimeeqApp.actions.getPodFilesUrl('ABC123');
console.log('Download URL:', url);