Changes the program status to PAUSED
.
You can only call this method when authenticated as a Wix app or Wix user identity.
function pauseLoyaltyProgram(): Promise<PauseLoyaltyProgramResponse>;
import { programs } from "@wix/loyalty";
async function pauseLoyaltyProgram() {
const response = await programs.pauseLoyaltyProgram();
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.