Integrations
Connect Shopify or WooCommerce
Every new order of your online shop becomes a package automatically, with no code (Growth and Business plans).
1Step 1
Only the account owner can do this, on plans with API access (Growth and Business). Open Settings and pick Online stores in the dropdown, then press Connect a store.
2Step 2
Choose Shopify or WooCommerce, type the shop name, pick the branch that receives the orders (when you have several) and, if you want, the Client who owns the shop so the packages appear in that client's account and statement. Press Connect.
3Step 3
The store opens with everything you need: the Webhook address (Delivery URL) to copy, and the setup steps for your platform. A webhook is simply the shop calling Delyvo.live each time an order is placed.
4Step 4
Shopify: in your Shopify admin open Settings > Notifications > Webhooks and press Create webhook. Event: Order creation, Format: JSON, URL: paste the Webhook address, latest API version, then Save.
5Step 5
Shopify: under the webhooks list Shopify shows "Your webhooks will be signed with" followed by a key. Copy it into Shopify signing key in Delyvo.live and press Save key. Until then the store shows Signing key missing and orders are refused, because the key proves an order really comes from your shop.
6Step 6
Shopify: open the menu of the webhook and press Send test. The store in Delyvo.live then shows Test message received: the connection works. A test never creates a package.
7Step 7
WooCommerce: in WordPress open WooCommerce > Settings > Advanced > Webhooks and press Add webhook. Name: Delyvo.live, Status: Active, Topic: Order created, Delivery URL: paste the Webhook address, Secret: paste the Secret shown in Delyvo.live, API version: WP REST API Integration v3. Press Save webhook.
8Step 8
WooCommerce sends a test right after saving: the store in Delyvo.live shows Test message received.
9Step 9
What becomes a package: Shopify, every new order with a shipping address (voided or refunded orders are skipped). WooCommerce, orders in Processing, On hold or Completed (Pending payment, Failed, Cancelled and Refunded are skipped; with the topic Order updated, an order is created when it reaches Processing).
10Step 10
The package gets the recipient name, phone, email, address, city, region and postal code of the shipping address (WooCommerce uses the billing address when there is no shipping address). The description lists the order number and items, for example Shopify order #1001: 2 x T-shirt, 1 x Cap. Country, area code and currency always come from the branch.
11Step 11
Weight: parcels need a weight to be priced. Shopify sends the order weight and it is used. WooCommerce does not send one, so each store has a Default parcel weight (1 kg at first) used for every package of that shop, and for Shopify orders without a weight. Change it on the store and press Save.
12Step 12
Cash on delivery: a Shopify order that is not paid yet is created as cash on delivery for the amount still due; a paid one is prepaid. A WooCommerce order paid with Cash on delivery keeps its total as the amount to collect. If the shop currency is not your company currency, a cash on delivery order is refused so no wrong amount is collected.
13Step 13
Each order is created only once, even if the shop sends it again. The package history shows Shopify or WooCommerce as the creator, and the store shows how many orders it created and when the last one arrived.
14Step 14
The order goes through the same checks as New package: plan package limit, prices, dates and cash on delivery rules, then the driver search starts. The map location comes from the shop when it sends one, otherwise it is found from the address.
15Step 15
If an order cannot become a package (address not found, missing phone, plan limit reached...), the store shows Last problem with the order number and the reason. Fix it in the shop or create the package by hand. Delyvo.live always answers the shop with success so it does not switch the webhook off.
16Step 16
Disconnect stops new orders at once; packages already created stay. The webhook address is secret: anyone who has it could try to send orders, but they are refused without the right signature. If the plan no longer includes API access, orders are refused until you upgrade again.
17Step 17
Other shops (PrestaShop, Wix, YouCan, your own website): use the API instead, see the article Connect your website or shop with the API. Examples of what Shopify and WooCommerce send and the package it becomes are below.
18Step 18
Clients can connect their own store too: in the client portal they open My stores, choose Shopify or WooCommerce, name the shop and press Connect, then follow the same steps. Orders always become packages under that client's account. The connection starts working right away, appears here marked Added by client, and the office receives an automatic ticket in Support with an Open the connection button that opens this page. You can disconnect it at any time. To stop clients from adding stores, turn off Clients can connect their own stores at the top of Online stores. A suspended client's store stops creating packages until the client is reactivated.
Sample API calls
These are real field names from Shopify and WooCommerce orders, shortened to the parts Delyvo.live reads. You never need to write code to connect Shopify or WooCommerce: the steps above are enough. The last two examples are for developers.
Shopify order (what Shopify sends, shortened)
{
"id": 5821736419,
"name": "#1001",
"email": "amina@example.com",
"currency": "DZD",
"financial_status": "pending",
"total_price": "4500.00",
"total_outstanding": "4500.00",
"line_items": [
{ "title": "T-shirt", "quantity": 2 },
{ "title": "Cap", "quantity": 1 }
],
"shipping_address": {
"name": "Amina Benali",
"phone": "+213 550 12 34 56",
"address1": "12 Rue Didouche Mourad",
"address2": "Apt 4",
"city": "Algiers",
"province": "Alger",
"zip": "16000",
"latitude": 36.7538,
"longitude": 3.0588
}
}WooCommerce order (what WooCommerce sends, shortened)
{
"id": 727,
"number": "727",
"status": "processing",
"currency": "DZD",
"total": "3500.00",
"payment_method": "cod",
"billing": {
"first_name": "Karim", "last_name": "Haddad",
"email": "karim@example.com", "phone": "0661234567",
"address_1": "5 Boulevard Zighout Youcef",
"city": "Medea", "state": "Medea", "postcode": "26000"
},
"shipping": {
"first_name": "Karim", "last_name": "Haddad",
"address_1": "5 Boulevard Zighout Youcef",
"city": "Medea", "state": "Medea", "postcode": "26000"
},
"line_items": [ { "name": "Coffee beans 1 kg", "quantity": 1 } ]
}The package Delyvo.live creates from the Shopify order
Recipient: Amina Benali
Phone: 550 12 34 56 (area code of the branch)
Email: amina@example.com
Address: 12 Rue Didouche Mourad, Apt 4
City: Algiers Region: Alger Postal code: 16000
Map location: 36.7538, 3.0588 (from Shopify, or found from the address)
Description: Shopify order #1001: 2 x T-shirt, 1 x Cap
Payment: Cash on delivery 4500 DZD (the order was not paid yet)
Client: the client picked when the shop was connected
Created by: Shopify (shown in the package history)How each order field is used
Package field Shopify WooCommerce
------------- ------- -----------
Recipient shipping_address.name shipping first_name + last_name
Phone shipping_address.phone, then shipping.phone, then billing.phone
order phone, customer phone
Email email billing.email
Address address1 + address2 address_1 + address_2
City / region city / province city / state
Postal code zip postcode
Description "Shopify order #1001: items" "WooCommerce order #727: items"
Cash on delivery amount still due when the order order total when the payment
is not "paid" method is "cod"
Which orders every order with a shipping status processing, on-hold or
address (not voided or refunded) completed (not pending, failed,
cancelled or refunded)Check a signature yourself (Node.js)
// Both shops sign the raw body with HMAC-SHA256, encoded in base64.
// Shopify header: X-Shopify-Hmac-Sha256 WooCommerce header: X-WC-Webhook-Signature
import crypto from "node:crypto";
function isGenuine(rawBody, signatureHeader, signingKey) {
const expected = crypto.createHmac("sha256", signingKey).update(rawBody, "utf8").digest("base64");
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signatureHeader));
}Send an order to Delyvo.live from another shop (API)
// For PrestaShop, Wix, YouCan or your own website: call the API when an order is placed.
// API_ADDRESS and the key are in Settings > API access.
await fetch("API_ADDRESS/packages", {
method: "POST",
headers: { "Authorization": "Bearer dlv_YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
recipient_name: order.customerName,
phone: order.phone,
address: order.address,
city: order.city,
postal_code: order.zip,
description: `Order ${order.number}: ${order.items}`,
payment: order.paid ? "prepaid" : "cod",
cod_amount: order.paid ? undefined : order.total,
client: "My Online Shop"
}),
});Still stuck? Open the Delyvo Assistant from the website footer or sign in and use Support > Contact developer.
