Orders & fulfilment
DPD Connector
Indicative price, not an offer: €24/mo; credential: we manage DPD API access
Generated from docs/plan/paid/dpd-connector/PLAN.md in the AstroBaaS repository. Nothing described below is implemented — it is the written plan for it.
A paid carrier plugin providing real-time DPD shipping rates and tracking for UK and Central Europe, integrated into the carrier-integrations module.
The problem
DPD is a major carrier in UK and Central Europe; merchants need live quotes and tracking.
What it does
- Register DPD API credentials
- Query live rates for DPD destinations
- Generate shipping labels
- Track shipments via DPD API
- Cache rates for 24h
- Support multiple DPD accounts
- Error handling: fallback to shipping-rules-engine
- Audit all transactions
What it deliberately does NOT do
Each boundary carries its reason. A boundary without a reason gets crossed by the next person who reads this.
- DPD pickup scheduling — not included. Reason: requires carrier SLA.
- Customs forms — not included. Reason: separate compliance feature.
Data model
Handled by carrier-integrations module; DPD plugin adds CarrierAccount entry with carrierId=‘dpd’.
API
- POST /api/carriers/dpd/accounts
- POST /api/carriers/dpd/quote
- POST /api/carriers/dpd/label
Every route added here must also appear in src/pages/openapi.json.ts — a test
fails the build if it does not.
Admin
Via carrier-integrations admin UI; DPD-specific account details.
The seam — why this is paid
Core owns: shipping interface. Paid owns: DPD API, credential management, rate caching.
Credential: DPD API key management, tracking sync
Dependencies
- carrier-integrations (parent module)
Acceptance checks
Each of these must be able to fail. Before claiming this is done, break the code deliberately and watch each one go red.
- Rate quote for UK/EU destination
- Label generation
- Tracking available
Risks
API downtime; rate staleness; mitigation: same as other carriers.
Commercial context
| Suggested price | €24/mo; credential: we manage DPD API access |
| Rival anchor | Shopify: €12-20/mo; Magento: ~€30/extension |
The anchor is what the nearest equivalent charges on Shopify or Magento today. It is context for a pricing decision, not the decision.
Generated from the commerce plan. See docs/COMMERCE-PLAN.md for the full
catalogue and ../../AI-GUIDE.md for how to work on this repository.