API 3.0 - Change Opportunity Pipeline Stage - bug - workaround

The API 3.0 docs give an example body for /Opportunities/{id}/PipelineStage which is wrong.

I lost hours on this issue, because using the provided body format simply returns "Invalid Stage ID - Stage not found in current pipeline".

The problem is this: the docs provide this body sample:

{
    "PIPELINE_ID": 0,
    "PIPELINE_STAGE_CHANGE": {
       "STAGE_ID": 0,
       ... // Stage has no activity sets - did not use this part
    }
}

I got around it by using just

{
"PIPELINE_ID": 0,
"STAGE_ID": 0,
}

 

Which gives me a lot of uncertainty on what I should do - the API docs say one thing and the API itself does something else.

 

Please fix this, or change the documentation. On either case you should leave the "bugged" format of the body as an alternative, or an alias, for users who used this workaround.

0

Comments

2 comments
  • Hi Jose,

    It looks like this post has already been answered by support agents on the Customer Care team and so the response will be limited to there. The incorrect information has been brought to the attention of our developer team. 

    0
    Comment actions Permalink
  • This issue remains open and thank you Jose, you saved the day for me!! 

    0
    Comment actions Permalink

Please sign in to leave a comment.