Stora est prêt pour la facturation électronique Conforme avant l'échéance de septembre 2027. En savoir plus.
  • API et intégrations

API: Opportunities, price increase webhooks, invoice payment links and test webhooks

Here’s what’s new in the Public API since our last update in February. If you build on Stora, it’s worth a look at the latest docs.

Create and update opportunities

Opportunities are the prospects your team sees in the back office. You can now create them from your own forms or CRM and update them as you qualify the lead, so they sit alongside the ones from your storefront. Webhooks tell your systems when one is created, updated, archived or linked to a deal.

New endpoints

New webhooks

  • opportunity.created, opportunity.updated, opportunity.archived, opportunity.unarchived, opportunity.associated, opportunity.deleted

Opportunities are in beta. How opportunities work →

Edit price increases, and follow them with webhooks

Change a draft price increase’s percentages, effective date or notice period before you schedule it. You can set a different percentage for unit types, protection and products. Once an increase is scheduled, delete it and create a new one to change it.

Webhooks now cover the whole life of an increase, including ones your team creates or changes in the back office.

New endpoint

New webhooks

  • price_adjustment.created, price_adjustment.scheduled, price_adjustment.updated, price_adjustment.rescheduled, price_adjustment.cancelled, price_adjustment.invoiced, price_adjustment.failed

Open and overdue invoices now include a payment_url, so you can send a customer a link to pay from your own systems. It uses your custom domain if you have one. Paid and voided invoices return null.

Close off abandoned orders

Mark an order the customer never finished as abandoned, so it stops waiting. Its payment link stops working, and a webhook tells your other systems.

Send a test webhook from the developer portal

Check your handler without waiting for a real event. In the developer portal, open a connected account, choose Send test webhook from a webhook endpoint’s menu, and pick an event type. Stora sends a sample event to that endpoint.