getErrorFileDownloadUrl( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Loyalty
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
loyaltyImportIdstringRequired

Loyalty import ID.

Returns
Return Type:Promise<GetErrorFileDownloadUrlResponse>
Did this help?