Forum
Perch shop events
Hi there,
I'm currently evaluating perch and it's shop app.
One of the required features we need is to be able to programatically hook into every product that is created, edited or delete from Perch so we can update our companies database accordingly via our REST API.
Eg when you add a product in perch we have: 1. a function or class member that is triggered with the details of the product injected into it 2. the product details are relayed to our API using guzzle or curl or whatever 3. our db gets updated by code running on our API.
I noticed on the trello page for perch there's work being done on this, however I'm not sure if this includes the admin side of perch shop or if these hooks are simply for customer facing stuff. Please advise.
Thanks, John.
ps - I got perch runway working in the end, I think I'd done something stupid..
If you can list out the events you'll need I'll see if we can add them.