getErrorFileDownloadUrl( )


Retrieves the download URL for the error file of a failed loyalty import.

If an import fails, the importResult.errorFileExists field in the LoyaltyImport object is set to true.

Use this method to get the URL of the error file, which contains details about which items couldn't be imported and why.

Method Declaration
Copy
Method Parameters
loyaltyImportIdstringRequired

Loyalty import ID.

Returns
Return Type:Promise<GetErrorFileDownloadUrlResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?