validateDocument( )


Developer Preview

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

Checks whether a Ricos document is valid given the specified plugins.

Use the fixDocument parameter to include a valid version of your Ricos document in the response.

Permissions
Manage Ricos Document
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
documentRecord<string, any>Required

Ricos document to validate.


optionsValidateDocumentOptions

Options to use when validating the document.

Returns
Return Type:Promise<ValidateDocumentResponse>
Errors

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

Did this help?