Webhooks

Webhooks

Webhooks in Sucrine Pro

How it works ?

Install webhooks application in Webhooks integration page

Add a webhook URL

Click on Ajouter un élément, then set your URL, choose the method (GET or POST), and on which events it's binded.

When using POST event, the object might be attached in the body of the request.

List of available events :

code and labeltriggered whenPOST body content
order.create
Commande - création
an order is created{"orderId": "1234132412341234"}
order.orderState.update
Commande - mise à jour du statut
an order status is updated{"orderId": "1234132412341234","fromState":"new","toState":"validated"}
order.deliveryDate.update
Commande - mise à jour de la date de distribution
an order delivery date is updated{"orderId": "1234132412341234","fromValue":"2025-01-01T12:00:00.000Z","toValue":"2025-02-01T12:00:00.000Z"}
product.created
Produit - création
a product is created{"catalogueItemId": "1234132412341234"}
product.update
Produit - mise à jour
a product is updated{"catalogueItemId": "1234132412341234"}
product.delete
Produit - suppression
a product is removed{"catalogueItemId": "1234132412341234"}
invoice.created
Facture - après création
an invoice is createdfull invoice object
invoice.finalized
Facture - après finalisation
an invoice is finalized{"invoiceId":"1234123412341234"}
invoice.sent
Facture - après envoi
an invoice is sent or marked as sent{"invoiceId":"1234123412341234"}
deliveryNote.created
Bon de livraison - après création
a delivery note is createdfull delivery note object
deliveryNote.sent
Bon de livraison - après envoi
a delivery note is sent{"deliveryNoteId":"1234123412341234"}
deliveryNote.delete
Bon de livraison - suppression
a delivery note is removed{"deliveryNoteId":"1234123412341234"}
triggerTest
Test
the trigger test button is pressed{sample: true, date: "2026-01-01T00:00:00.000Z"}