Require owner permissions
Only the owner has access to create and modify pipelines.
You can create a custom sort order by setting the
orderWeightfield. For example, if you have one option with an
orderWeightof 10000 and another of 11000, you can create a new stage with an
orderWeightof 10500 that would be placed between them.
However, once the stage has been created, the
orderWeightfor all stages will be recalculated to enforce the new ordering with gaps of 1000. In the previous example, that means the value that was at 11000 will be moved to 12000 and the new one created at 10500 becomes 11000.
If you wish to modify the stages of a pipeline, you may do so by passing the id of the stage with your stage objects. Any stage objects that are missing ids will be created as new stages.