Overview
Introduction
Setting up the webhook allows Dema to receive data from Centra in real-time.Available Data Types
- Orders
Prerequisites
To use Centra webhook with our platform, you need to setup a plugin with the necessary permissions within your Centra store.Step-by-Step Integration Guide
1
Initial Steps
For the webhook setup, a webhook URL and endpoint secret are required to securely access your Centra data.
- From the left panel, navigate to Stores management ⟩ Stores.
- Click the row (or the View link) for the Store you want to add the webhook to. The Store details will open to the right.
- Scroll down to the Plugins section and click the “+ Add plugin method” button.
- Select “Active” from the Status dropdown.
- Enter a name for the plugin, preferably “Dema Webhook”, in the Plugin name field.
- Choose “Centra Webhook” from the Plugin dropdown. This will add some more fields to the form.
2
Configuring the Webhook
- In the Webhook URL field, enter the following URL:
DV-XXXXXXXXXXXXXXXXXXXX
is the unique ID provided by Dema for your store.- Share the pre-generated Endpoint secret securely with Dema.
- From the Version dropdown, choose “Integration API”.
- Under Event triggers, choose “Yes” for Order, and “No” for others.
- Leave the default values for all other fields.
- Click on the Save button (top right) when you’re ready.