Commerce Layer will be proud to sponsor the next JAMstack Conf in London — 09-10 July, 2019 🎉 Stay tuned!

API REFERENCE

Real-time webhooks

Commerce Layer provides a webhook mechanism to react to specific events in real-time. Each time a subscribed event occurs, we trigger a POST request to the endpoint that you specified. The request contains a JSON payload in the same format as the REST API. For each resource, you can also configure the related resources that should be included in the request body.

Supported events
Orders
create pending draft place approve cancel authorize pay void refund start_fulfilling fulfill destroy
Shipments
create upcoming cancel on_hold picking packing ready_to_ship ship destroy
Customers
create acquired repeat destroy
Customer Subscriptions
create destroy
Customer Password Resets
create destroy
Note: The list of supported events will soon cover all the API resources.