API & docs
Your API key
Shown to Owners and users with “See API key”. Others see “Key hidden for your access”.
dpk_SAMPLE_7Qm4Xc2Lr9Vt8Nw3Bz6Hk1Pd5Fy0Ja41cSend it as Authorization: Bearer <key>.
Status
OnLast used
Today 9:12 AM CTEndpoint
Base URL
https://api.example/v1 (sample)
Plugin
Using WooCommerce? Install the Distro.iM plugin and paste your key. It syncs products, stock and orders for you.
Distro.iM plugin for WooCommerce
v1.1.30Version
1.1.30 · Nov 15, 2026Needs
WordPress 6.0+ · WooCommerce 7.0+ · PHP 7.4+Folder in zip
distro-partner- Imports allowlisted products, with variations and photos.
- Keeps stock in line with Distro, about every 15 minutes.
- Sends paid orders automatically, including $0 orders, and pulls tracking back.
- Shipment status flows automatically: Completed, re-ship, undo, cancel.
Download Distro.iM 1.1.30 (.zip)Mockup placeholder link
Install: Plugins → Add New Plugin → Upload Plugin → choose the zip → Install Now → Activate. Then WooCommerce → Distro.iM → Settings → paste your key → Test connection.
Setup guide / Readme
Distro.iM Setup & User Guide · v1.1.30 · Nov 15, 2026 · 11 pages
- Install · In WordPress go to Plugins → Add New Plugin → Upload Plugin, choose the Distro.iM zip (don’t unzip it) and click Install Now.
- Activate · Click Activate Plugin, or the Activate link under Distro.iM in Installed Plugins. It then lives under WooCommerce → Distro.iM (Settings, Catalog, Stock, Orders).
- Connect · On Settings, paste your dpk_ API key, click Save settings, then Test connection. You’ll see “Connected as … N products on the allowlist.”
- Import · On Catalog, click Import all. Re-imports keep your names, prices and photos; only stock follows Distro. “Reset to Distro’s version” is separate.
- Stock & orders · Stock syncs about every 15 minutes (or Sync stock now). Paid orders with Distro products go to Distro automatically; tracking comes back and the order is marked Completed.
Download guide (PDF, English)Also covers troubleshooting and updating the plugin.
Distro.iM 安装与使用指南 · 版本 1.1.30 · 2026年11月15日 · 共 11 页
- 安装 · 在 WordPress 后台进入 插件 → 安装插件 → 上传插件,选择 Distro.iM zip 文件(不要先解压),点击 立即安装。
- 启用 · 点击 启用插件,或在已安装插件里点 Distro.iM 下方的 启用。之后在 WooCommerce → Distro.iM(设置、商品目录、库存、订单)。
- 连接 · 在 设置 粘贴 dpk_ 开头的 API 密钥,点 保存设置,再点 测试连接,看到「已连接为 …,白名单共 N 件商品」即成功。
- 导入 · 在 商品目录 点 全部导入。再次导入会保留你的名称、价格和图片,只有库存跟随 Distro。「重置为 Distro 版本」是单独的操作。
- 库存与订单 · 库存约每 15 分钟自动同步(或点 立即同步库存)。含 Distro 商品的已付款订单自动发给 Distro,物流单号自动回写,订单变为「已完成」。
下载指南(PDF,中文)含故障排查和插件更新说明。
Endpoints
Every call needs your key| Method | Path | What it does |
|---|---|---|
| GET | /v1/catalog | Your approved products and flavors |
| GET | /v1/stock | Available stock by master ID |
| POST | /v1/orders | Send a paid order |
| GET | /v1/orders/{id} | One order with status and tracking |
| GET | /v1/tracking | Tracking for all your orders |
Example
curl -H "Authorization: Bearer dpk_SAMPLE_7Qm4Xc2Lr9Vt8Nw3Bz6Hk1Pd5Fy0Ja41c" https://api.example/v1/catalog
Example answer (each item has brand, model and flavor)
{"items": [
{"master_id": 186, "sku": "ZZ-VPP-GG-WMI", "brand": "VapePie", "model": "Galactic Gleam",
"flavor": "Watermelon Ice", "name": "VapePie · Galactic Gleam · Watermelon Ice", "price": "13.00", "stock": 5},
{"master_id": 0, "sku": "ZZ-GKB-PLX-WMI", "brand": "GeekBar", "model": "Pulse X",
"flavor": "Watermelon Ice", "name": "GeekBar · Pulse X · Watermelon Ice", "price": "12.75", "stock": 9}
]}