Hi there. I’m building an OroCRM bundle to integrate with a bespoke ecom system.
I’ve created my custom order entities and their views and I’m successfully receiving order information from the ecom site. Now I’d like to add a ‘cancel order’ button to the order view page. This would only change the status of the order, and would then need to call an endpoint on the ecom site’s API to cancel that order.
Since it won’t be updating the order through a REST API, and would need to call a specific endpoint, what would be the best way to do this? I’d prefer for it to be done immediately rather than in a batch job.
I am currently updating the status without problems in Oro, so I just need to know how to call the API endpoint, really.
You must be logged in to reply to this topic.