updateProgramDefinition( )


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.

Method Declaration
Copy
Method Parameters
_idstringRequired

Program definition ID.


programDefinitionUpdateProgramDefinitionRequired
Returns
Return Type:Promise<ProgramDefinition>
Errors

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

Did this help?