updateReferralProgram( )


Developer Preview

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

Updates a referral program. Supports partial updates.

Revision number, which increments by 1 each time the referral program is updated. To prevent conflicting changes, the current revision must be passed when updating the referral program.

Authentication

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

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
referralProgramReferralProgramRequired

Referral program to update. Include the latest revision for a successful update.

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