POST

Add Pool Definition To 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.

Adds a pool definition to a program definition.

Pool definitions can be contained by multiple program definitions, so this doesn't affect other program definitions that contain this pool definition.

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
POST
https://www.wixapis.com/_api/benefit-programs/v1/pool-definitions/program-definition/assign

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?