Lingxing ERP / WMS API Integration Guide
This page is ready to share directly with the Lingxing technical team. It focuses on test accounts, API path selection, validation flow, and production safety boundaries.
Our admin will create or reuse a dedicated frontend account for Lingxing and generate a test API key.
The package usually includes the login email, initial password for new accounts, test token / client_secret, recommended client_id, and the enabled channels.
The account and token provided here are primarily for platform-level integration testing so the Lingxing and SendLabel teams can complete the technical validation first.
When real merchants later use SendLabel inside Lingxing, they should not keep using this shared test account or a single Lingxing-wide production credential long term.
This is the safest validation path and avoids billing mismatches, charges, or leftover live labels.
We recommend `Authorization: Bearer <API_KEY>`. If the current client is closer to a native UPS / DHL implementation, compatible headers and client_id aliases are also supported.
New systems should start with the unified API. Existing native UPS / DHL clients can start with compat routes to reduce change volume.
The commands below cover unified validate_only and UPS compat dry_run. If these succeed, most field mapping issues are already clarified.
curl -X POST "https://www.sendlabel.de/api/v1/shipments/import" \
-H "Authorization: Bearer <API_KEY>" \
-H "X-SendLabel-Execution-Mode: validate_only" \
-H "Idempotency-Key: lingxing-validate-0001" \
-H "Content-Type: application/json" \
-d '{
"carrier": "DHL_PARCEL_DE",
"shipments": [
{
"reference": "LX-10001",
"recipient": {
"name": "Max Mustermann",
"street1": "Lindenstr. 5",
"postalCode": "70173",
"city": "Stuttgart",
"countryCode": "DE"
},
"parcel": { "weightKg": 1.2, "lengthCm": 30, "widthCm": 20, "heightCm": 10 }
}
]
}'
curl -X POST "https://www.sendlabel.de/api/compat/ups/v1/shipments/import" \
-H "Authorization: Bearer <API_KEY>" \
-H "X-SendLabel-Execution-Mode: dry_run" \
-H "Idempotency-Key: lingxing-ups-dryrun-0001" \
-H "Content-Type: application/json" \
-d '{
"carrier": "UPS",
"shipments": [
{
"reference": "LX-UPS-10001",
"recipient": {
"name": "Erika Mustermann",
"street1": "Lindenstr. 5",
"postalCode": "70173",
"city": "Stuttgart",
"countryCode": "DE"
},
"parcel": { "weightKg": 1.5, "lengthCm": 30, "widthCm": 20, "heightCm": 10 }
}
]
}'Even if the API key has production scope, the server still blocks live creation when the account-level production switch is off.
For customers that need real shipment validation, we recommend controlled live tests with a configurable auto-revoke delay.
Use this checklist during the technical kickoff before implementation starts.