Starts the actual import process for a loyalty import.
Call this method after the loyalty import object reaches the PARSED
status.
function executeLoyaltyImport(
loyaltyImportId: string,
options: ExecuteLoyaltyImportOptions,
): Promise<ExecuteLoyaltyImportResponse>;
Loyalty import ID.
import { imports } from "@wix/loyalty";
async function executeLoyaltyImport(loyaltyImportId, options) {
const response = await imports.executeLoyaltyImport(loyaltyImportId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.