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 (included in order sync)
API integration
Prerequisites
To integrate Centra with our platform, you need to have an API token within your Centra project.Step-by-step integration guide
1
Create an API token in Centra
- From the left panel, navigate to System ⟩ API Tokens.
- Click Create integration API token in the top right corner.
-
Give the token a description and set Integration name to
Integration API, or create a new one (e.g.Dema). - Set an expiry date.
- Set Restrictions based on your needs, or leave unchecked.
- Under Permissions, select the required read permissions. See the full list of permissions below.
-
Click Save to generate the token and copy it along with your store endpoint (e.g.
https://yourstore.centra.com/graphql).
2
Share credentials with Dema
Share your API token and endpoint with your Customer Success Manager.
For security reasons, send this information via a secure password sharing method.
Example
Required API permissions
Required API permissions
Allocation:readAllocationRule:readAttribute:readBrand:readCategory:readCollection:readDisplay:readFolder:readMarket:readMarket.comment:readOrder:readOrder.attributes:readOrder.billingAddress:readOrder.internalComment:readOrder.shippingAddress:readPaymentHistory:readProduct:readProduct.attributes:readProductMedia:readProductMedia.attributes:readProductSize:readProductSize.stockTotals:readProductVariant:readProductVariant.stock:readProductVariant.stockTotals:readPurchaseOrder:readReturn:readShipment:readStore:readStorePlugin:readVoucher:readWarehouse:read
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
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.

