getProgramDefinitionByExternalIdAndNamespace( )


Developer Preview

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

Retrieves a program definition with the specified external ID and namespace.

Permissions
SCOPE.BENEFIT_PROGRAMS.MANAGE
SCOPE.BENEFIT_PROGRAMS.READ
Manage Events
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
namespacestringRequired

Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.


optionsGetProgramDefinitionByExternalIdAndNamespaceOptionsRequired
Returns
Return Type:Promise<GetProgramDefinitionByExternalIdAndNamespaceResponse>
Errors

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

Did this help?