Tradeloop API Documentation
Upload CSV files for automated DPP validation
This is the simplified way to upload and validate DPPs using CSV files
Looking for the full API documentation?
Complete DID API v3 reference with all endpoints, code examples, and technical details.
How It Works
Simple 3-step process to upload and validate your DPPs
Upload CSV File
Click the Upload DPPs button and select your CSV, JSON, or Excel file containing product information
Automatic QA Validation
Our QA agent automatically runs 10 comprehensive tests in the background, validating your data against ISO 20435 standards
View Results
Get instant feedback with detailed test results, pass/fail status, and validation summary
CSV File Format
Required columns and data structure for your DPP uploads
Required Columns
- manufacturer - Product manufacturer name (e.g., “NVIDIA”, “Apple”, “Dell”)
- partNumber - Manufacturer part number (e.g., “DGXA100-QA-TEST”)
- serialNumber - Unique serial number for the product
CSV Example
manufacturer,partNumber,serialNumber NVIDIA,DGXA100-QA-TEST,SN-001234567 Apple,iPhone15Pro,IMEI-987654321 Dell,XPS-15-9520,SVC-TAG-ABC123 HP,EliteBook-840,PROD-456789 Lenovo,ThinkPad-X1,SER-789012
Automatic QA Validation
10 comprehensive tests run automatically in the background
Compute Hash Tree
Generates cryptographic hash and DID for each product
Verify Hash Tree
Validates hash tree integrity against data objects
Register Single DID
Creates individual DID in the system
Register Batch DIDs
Bulk DID creation (tests with 3 DIDs)
Resolve DID
Retrieves DID document and metadata
Update DID
Skipped (requires full hashTree computation flow)
Deactivate DID
Marks DID as inactive while maintaining history
Verify 410 Gone
Confirms deactivated DIDs return proper 410 status
File Upload
Tests file upload to Supabase storage
Error Handling
Validates proper 400/404 error responses
Note: All tests run natively in TypeScript - no external services required! Tests typically complete in under 60 seconds.
What You'll Receive
After upload, you'll see a comprehensive summary including:
10
Total Tests
9
Passed
0
Failed
1
Skipped