0

I want to use Magento Api for Updating Status of order in Magento 2.3.5 so anyone can guide me from scratch how can i use api. I also want to know in Magento how many default api is there and how to use api in php file. so anyone have idea then please share with me.

Thank you In Advace.

1

Check this api {{your url}}rest/V1/orders and apply following params to update status

{
    "entity": {
        "entity_id": orderid,
        "state":"processing",
        "status": "processing"
    }
}
3
  • hello how can i call rest api in php file inmagento 2 – Deep Shah Jun 17 '20 at 8:05
  • because i don't know how to write api code in magento 2 – Deep Shah Jun 17 '20 at 8:06
  • please help me... – Deep Shah Jun 17 '20 at 8:06
0

Please follow link create module and still you face any problem let me know

https://meetanshi.com/blog/create-custom-rest-api-in-magento-2/

1
  • This answer will become useless if the site goes down. – bfontaine Feb 26 at 10:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.