Events (Webhooks)
Moltin observes several events that you can attach webhooks to. With a webhook you can attach custom code that performs actions outside of the Moltin ecosystem.
You may want to send a discount code or a NPS survey email a few days after an order is fulfilled. You can do this via a webhook that sends event data to your custom function.
Webhooks operate on an "at least once" delivery policy, and we aim to deliver messages within 30mins or less. Please take care to design your receiving app accordingly.
Webhooks that return anything other than a 2XX status code will be considered failed.
Event object
Attribute | Type | Description |
|
| The unique identifier for the event |
|
| This represents the type of object being returned |
|
| The name of the event |
|
| A description for this event |
|
| This will be |
|
| This will enable the event to fire |
| An array of observable events | |
| A |
Example response
Last updated