PATCH

Update Pool 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 pool definition.

Each time the pool definition is updated, revision increments by 1. The current revision must be passed when updating the pool definition. This ensures you're working with the latest pool 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/pool-definitions/{poolDefinition.id}

Errors
400Invalid Argument

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?