updateSubmission( )


Updates a submission.

Each time the submission is updated, revision increments by 1. The existing revision must be included when updating the submission. This ensures you're working with the latest submission information, and prevents unintended overwrites.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Submissions
Manage form submissions.
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Submission ID.


submissionUpdateSubmissionRequired

Submission to update.


optionsUpdateSubmissionOptions
Returns
Return Type:Promise<FormSubmission>
Errors
400Invalid Argument

There is 1 error with this status code.

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

Did this help?