Forum

Thread tagged as: Add-on-development, Shop

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..

John Hunt

John Hunt 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you can list out the events you'll need I'll see if we can add them.