Other

Finish Editing an Approved Template

Changed on

Ends an edit started with start editing an approved template.

Available only to Enterprise-plan workspaces and first-party clients.

post/approval-flows/{flow}/items/{item}/finish-edit

Request

  • Base URL
    https://api.orshot.com/v1
  • URL
    https://api.orshot.com/v1/approval-flows/{flow}/items/{item}/finish-edit
  • Auth
    HTTP bearer

Path parameters

flowstring required

The approval flow's id or slug. A number is an id, anything else a slug.

iteminteger required

The approval item's id (one template in one approval flow).

Request body

actionstring required

approve: approve the edited design where it is (it renders from now on). submit: send it to the review before its stage.

reviewedVersionstring

Required to approve: the template's currentVersion you looked at. Refused with stale_review if the design changed since.

revisioninteger

The item's revision you last saw; refused with state_conflict if it changed.

Response

Successful response

object required

Changes