Sample Flows

This article shares some possible use cases you can support, as well as an example flow that supports each use case. You're certainly not limited to these use cases, but they can be a helpful jumping off point as you plan your implementation.

Create a branch and redirect a Wix user for editing

You can create a branch for the Wix user to edit, and provide a CTA to direct them to the editor to make the relevant changes.

  1. Create a new branch by calling Create Branch and collect the branch ID from the response.
  2. Provide a button other CTA that will redirect the Wix user to the editor to edit the new branch.
  3. Generate a link to edit the new branch:
    1. Call Get Editor URLs and collect the relevant editor URL.
    2. Append the branch ID as a query parameter to the editor URL. For example:
    Copy
  4. When the Wix user clicks the button, redirect them to the link generated above.
Did this help?