getDraftPost( )


Gets a draft post by the provided ID.

Uses the provided draftPostId to retrieve a draft post.

Method Declaration
Copy
Method Parameters
draftPostIdstringRequired

Draft post ID.


optionsGetDraftPostOptions

Options for getting a draft post.

Returns
Return Type:Promise<GetDraftPostResponse>
Errors

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

Did this help?