New Workflows Events
With the introduction of two new Workflow events, you can new register rules to be triggered when a sale is created and when it is updated.
sale.created event is triggered when a sale has been created in Vend and the
event is triggered when a sale has been updated in Vend.
The sale payload sent to workflow rules has been expanded to include
which all especially useful in these two new events.
idholds the ID of the sale.
statusholds the status of the sale. Use this to check if the sale is
SAVEDor any of the other sale statuses.
return_forwill hold the ID of the sale that is being returned in case the sale is a return.
Read more about all the supported events in our tutorial section.