update document fields

0 votes
HI, I have created a package with some document and set its status to "SENT". Now before sending signing url to user, I want to fill some fields through code, so user don't need to fill those fields. is it possible through this route? PUT /packages/{packageId}/documents/{documentId} OR how I can do this? I am using RESTAPI and nodejs. Thanks.

Reply to: update document fields

0 votes
Hello, To edit a package, you'd need to do so prior to making the status "SENT". You would need to create it as a "DRAFT" status to be able to edit after creating the package. However, the easiest way might to just include the values in the original JSON payload, depending on how you're creating the package (template or no template). Let me know.

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off