Each time a specific Arcadier API is called, a POST
request can be sent to your webhook with a payload containing relevant information about the event. More details here.
For "non-API call" events, custom triggers can be created to detect events that happen on Arcadier's front-end. Here are some examples with sample code:
- Category Creation - Script triggered on Admin Portal
- Category Deletion - Script triggered on Admin Portal
- Item Creation - Script triggered on Merchant Portal
- Item Edit - Script triggered on Merchant Portal
Possible use for these triggers - Vetting by admin:
- Item Creation - Script triggered on Merchant Portal. Admin needs to approve newly created items
- Item Edit - Script triggered on Merchant Portal. Admin needs to approve recently edited items
For example, if you want to install Item Creation as a plug-in.
- Download the repository
- Extract all the content of the zip file
- In the resulting extracted folder, fo to
Item Creation
folder. - Compress
admin
anduser
together. - The resulting zip file is what you upload to your developer dashboard.