PATCH

Update Program Definition


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 program definition.

Each time the program definition is updated, revision increments by 1. The current revision must be passed when updating the program definition. This ensures you're working with the latest program definition and prevents unintended overwrites.

Authentication

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

Permissions
SCOPE.BENEFIT_PROGRAMS.MANAGE
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/_api/benefit-programs/v1/program-definitions/{programDefinition.id}

Errors

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

Did this help?