Skip to main content
View as Markdown

Save a Route draft

POST 

/v2/routes/:id/draft

Save an unfinished edit of the decision tree, to come back to later. A Route has at most one draft: this creates it, or replaces its tree. A draft is not a version. No payment is routed by it, and it cannot be activated until you publish it. Each save gives the draft a higher revision, and a Route never gives the same revision to two drafts. Send the revision you edited from, or 0 when the Route had no draft, and a save made after someone else's is refused instead of replacing their tree.

Request​

Responses​

OK