pauseLoyaltyProgram( )


Changes the program status to PAUSED.

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
function pauseLoyaltyProgram(): Promise<PauseLoyaltyProgramResponse>;
Request
This method does not take any parameters
Returns
Return Type:Promise<PauseLoyaltyProgramResponse>
JavaScript
import { programs } from "@wix/loyalty"; async function pauseLoyaltyProgram() { const response = await programs.pauseLoyaltyProgram(); }
Errors

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

Did this help?