Can we move the deal via PHP code?

Setting up a new Pipedrive account and trying to move the deal via PHP code but not succeed.
any solution for this?

Welcome to the community @sherry_sheikh
Can you share your code snippet so that I can take a closer look?

You have the following endpoints to update a deal stage

Feel free to add more context