Event types

order_cycle.opened

This event occurs at the opening time for each order cycle. It fires for each user that is an owner of an enterprise that is either coordinator or distributor for the order cycle.

Example:

{
  "id": "374e0a40-f1d4-410c-9dc3-965baddde66b",
  "at": "2023-02-07 17:12:45 +1100",
  "event": "order_cycle.opened",
  "data": {
    "id": 3813,
    "name": "Another test order cycle",
    "orders_open_at": "2023-02-07T17:10:00.000+11:00",
    "orders_close_at": "2023-02-08T12:00:00.000+11:00",
    "coordinator_id": 2515,
    "coordinator_name": "David's Dev Shop"
  }
}

Post webhook on Payment status change

This event occurs every time there is a payment status change on an order which the user manages or owns, and was introduced to comply with regulations in Spain. The payload includes order details, seller details and line items.

This webhook can be used in conjunction with a filter on 'event' to only include completed payments (e.g. event = payment.completed) to create instant producer notification workflows for example.

Example payload:

Last updated