API integration
Sync orders, inventory and indeliveries via API
Webhook
Receive real-time order updates
Supported data types
Orders
Customer transactions
Inventory
Stock levels & product data
Indeliveries
Incoming products
Returns
Order return details
API integration
Prerequisites
To integrate Centra with our platform, you need to have an API token with the necessary permissions within your Centra project.Step-by-step integration guide
Initial setup
For the integration setup, specific credentials are required to securely access your Centra data.
-
Gather required information: Confirm you have the following details from your Centra account:
- API token
- Endpoint
- Provide credentials: Share the credentials with your Customer Success Manager.
For security reasons, send this information via a secure password sharing method.
Example
Configuring the integration
Once your credentials are received, our team will configure the integration, ensuring secure and efficient data synchronization between Centra and our platform.
- Access configuration: The provided credentials will be used to set up access to your Centra data, focusing on orders, indeliveries and inventory.
- Schema mapping: Since Centra has custom data models for each customer, our integration team will map our data model schema to your relevant Centra fields.
- Data synchronization: Our platform will begin to fetch and sync data based on your specified scope.
Finalizing integration
Once the integration is successfully configured, you’ll gain the ability to access and analyze your Centra orders and inventory data directly through our platform. This enables enhanced decision-making and helps you to refine your e-commerce strategy for better efficiency and growth.
Webhook
Setting up the webhook allows Dema to receive order data from Centra in real-time.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 webhook guide
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.
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.

