Custom Apparel Printing REST API & Automated Dropshipping Fulfillment
Programmatically integrate on-demand t-shirt manufacturing, live artwork rendering, and pan-India white-label dropshipping directly into your custom website, mobile app, or ERP stack.
Unified API Base URL
HTTPS REST v1.4Both Sandbox simulation and Live production use this same Base URL. No separate sandbox domain or subdomain is required.
Use your nx_test_... API key. Full payload validation, SKU checks, and quote pricing math run as normal, but orders are simulated with mock Delhivery tracking without debiting your wallet.
Use your nx_live_... API key. Orders auto-debit manufacturing charges from your wallet, trigger automated DTF printing in Indore, and book real courier pickup.
curl -X POST https://nexelprint.com/v1/orders \
-H "Authorization: Bearer nx_test_79a8bc43f1e944b..." \
-H "Content-Type: application/json" \
-d '{
"client_reference_id": "ORD-98421",
"payment_method": "prepaid",
"shipping_address": {
"name": "Arjun Sharma",
"phone": "+919876543210",
"address_line1": "Flat 402, Cyber Heights, HSR Layout",
"address_line2": "Sector 2",
"city": "Bengaluru",
"state": "Karnataka",
"postal_code": "560102",
"country": "IN"
},
"items": [
{
"sku": "TEE-240GSM-OVERSIZED-BLACK-L",
"quantity": 1,
"print_technique": "DTF_INDUSTRIAL",
"artwork_front_url": "https://yourcdn.com/assets/design_front.png",
"print_front_width_inches": 12,
"print_front_height_inches": 14,
"artwork_back_url": "https://yourcdn.com/assets/design_back.png",
"print_back_width_inches": 13,
"print_back_height_inches": 16,
"artwork_neck_label_url": "https://yourcdn.com/assets/inside_tag.png"
}
],
"branding": {
"custom_neck_label": true,
"brand_name_on_awb": "Streetwear Collective",
"brand_support_phone": "+918000000000",
"brand_packing_slip_message": "Thank you for shopping with Streetwear Collective!"
}
}'Complete Technical API Reference & Guidelines
Everything required to run a 100% automated, white-label dropshipping brand on your custom stack.
100% Industrial DTF Printing
All garments are printed using multi-head Industrial DTF lines with automated powder curing. Zero DTG cracking, 50+ wash longevity, and rich opaque white ink on black tees.
Tagless Soft-Touch Neck Labels
Replaces generic factory tags with skin-safe, non-itchy DTF heat transfers cured with a flexible polyurethane underbase.
100% Blind Dropshipping
NexelPrint operates as a silent fulfillment partner. Zero supplier branding on shipping labels, poly-mailers, or packing slips.
Idempotency & Deduplication
Pass your store's unique order ID in client_reference_id. Accidental retries are rejected with 409 Conflict, preventing double charges.
24–48h Dispatch & Live Tracking
Orders are produced and dispatched within 24–48 hours from our central Indore Hub (452015) via Delhivery, Blue Dart, DTDC, Xpressbees, and Shadowfax.
Prepaid Wallet & Auto-Refunds
Orders auto-debit from your production wallet. Cancel orders before printing via API to receive an instant 100% wallet credit refund.
Variant Catalog & CSV Export
228 exact variant SKUs spanning all 4 premium blanks (Regular 180 GSM, Oversized 220 GSM, Oversized 240 GSM, and Acid Wash 240 GSM) across sizes S–3XL.
Live Mockup Generator API
Render instant blank garment mockups or composite custom user artwork onto t-shirts in real-time via high-fidelity vector SVG and transparent alpha masks.
Continuous Manufacturing Stock
All 228 variants operate under our continuous fabric-roll stocking model. Cut-and-sew apparel blanks and DTF lines run continuously for zero stockouts.
Real-Time Webhook Event Lifecycle
Configure your webhook URL in the dashboard to receive HMAC-SHA256 signed JSON notifications.
| Event Name | Trigger Condition | Key Data In Payload |
|---|---|---|
| order.created | Order successfully accepted and placed into production queue. | order_id, client_reference_id, status |
| order.printed | Industrial DTF printing and heat-press curing completed. | order_id, print_timestamp |
| order.packed | Garment passed quality inspection and packed in blind packaging. | order_id, packing_slip_id |
| order.dispatched | Handed over to carrier with assigned AWB and tracking link. | carrier, tracking_number, tracking_url |
| order.in_transit | Package is moving between logistics sorting centers. | carrier, current_city, estimated_delivery |
| order.delivered | Successfully delivered to customer doorstep. | delivered_at, recipient_signed |
| order.cancelled | Order cancelled before production; funds credited to wallet. | order_id, refunded_amount_inr, reason |
HTTP Status Codes & Error Handling
Standardized JSON error structures returned across all REST API endpoints.
SUCCESS
Request processed successfully.
VALIDATION_ERROR
Missing required address fields or items array.
DUPLICATE_ORDER
client_reference_id already exists. Duplicate rejected.
INVALID_API_KEY
Invalid Bearer key or expired authorization token.
Developer & Integration FAQs
Detailed technical answers for engineering teams and brand founders.
Start Building with the NexelPrint API Today
Create your developer account, generate instant test sandbox keys, and simulate your first automated dropshipping order in under 2 minutes.