Skip to main content

Webhooks

Understanding webhooks

Webhooks are a way for web applications to provide real-time data to other systems or services. Instead of requiring continuous polling for updates, a webhook allows an application to send data automatically to a specified URL when a particular event occurs.

This event-driven architecture enables more efficient communication between systems, reducing latency and enabling near-instantaneous updates and actions based on triggering events.

Our support

The messaging center (Meddelandecentralen) in the platform has built-in support for webhooks.
Contact Askås if you're interested in activating this feature.

Currently, a selection of message points supports being sent via webhook, but we're continuously working to add support for more.

Currently, support is available for the following:

Message PointDescription
customer_profile_new_generatedCustomer Profile - New customer profile (Auto-generated)
customer_profile_new_passwordCustomer Profile - Request for login credentials
export_order_file_createdOrder file available for download
gift_card_on_orderOrder placed with gift card
order_point_productsOrder Point (Beställningspunkt) - Product limit reached
order_point_supplierOrder Point (Beställningspunkt) - Supplier product limit reached
watchlist_product_back_in_stockProduct - Email to customer when a product is back in stock

Usage

Each message point delivers different payloads corresponding to the tags selectable in the messaging center.

For webhooks to be sent, a receiving URL needs to be configured. The receiver needs to respond with HTTP status 200. If a response is missing or has a different status, the system will attempt to resend the request for up to one day, with increasing time between each attempt.