API not executing in sync

dtdev
dtdev Member Posts: 1 VERIFIED MEMBER

Hi,

In the past 2 weeks we noticed that API is not executing requests in order of sending.

A sample code is found here: https://pastebin.com/Q2ycPCTT

Expected behaviour (worked this way for the last 10 years):
1. existing products are removed from a deal
2. new products are added to a deal
3. a deal status is set to won

Actual behaviour (since 2 weeks ago):
1. existing products are removed from a deal
2. a deal status is set to won
3. new products are added to a deal

Can anyone from a Pipedrive dev team take a look at this and confirm?
Thanks

Tagged:

Answers

  • Manuel Oliveira
    Manuel Oliveira Admin Posts: 1,209 COMMUNITY MANAGER
    250 Likes Third Anniversary 25 Answers 500 Comments

    Hi @dtdev does that happen for every user and deal? Have there been any changes to the code and can you provide more details, such as whether it runs sync or async and a deal_id that happened for?