TOY DOT Reseller API v1 ๐ค
Dropship our products from your own store, app โ or a Shopify app (same REST endpoints). Base URL: https://toydot.in
1. Get an API key
Sign up at /reseller/signup โ we approve within 24 hrs โ copy the key from your dashboard. Send it on every call as header X-API-Key (or ?api_key=).
X-API-Key: td_live_abc123...
2. List products GET /api/v1/products
Live catalog with your reseller prices + stock. Poll GET /api/v1/stock before big pushes.
curl -H "X-API-Key: KEY" https://toydot.in/api/v1/products
โ {"ok":true,"data":[{"id":"rc-beast-4x4","name":"...","retail_price":2999,
"mrp":4999,"reseller_price":2549,"stock":100,"image":"...","variants":[]}]}3. Create order POST /api/v1/orders
We ship to your customer on your behalf (prepaid orders, settled as per terms). Prices are validated server-side โ always use reseller_price from step 2.
Set your selling price per item (customer_price โฅ our fixed cost, else rejected). Your margin = selling โ cost, settled every Wednesday.
curl -X POST -H "X-API-Key: KEY" -H "Content-Type: application/json" \
-d '{"customer":{"name":"Aarav","phone":"9876543210","address":"...","city":"Kozhikode","pincode":"673001","payment":"Prepaid"},
"items":[{"id":"rc-beast-4x4","qty":1,"customer_price":3500}],"ship_method":"Free Shipping"}' \
https://toydot.in/api/v1/orders
โ {"ok":true,"order_id":"TD-XXXXXX","total":...,"reseller_cost":2549,"your_margin":951,...}
Optional ship_method: any active method name (see checkout); defaults to Standard. Get names from your dashboard or the store checkout page.
4. Track orders
GET /api/v1/orders (your last 100) ยท GET /api/v1/orders/TD-XXXXXX (status, AWB, items).
โ {"ok":true,"data":{"order_id":"TD-XXXXXX","status":"Shipped","awb":"123...","items":[...]}}Shopify app (roadmap)
These same endpoints power a future Shopify sales-channel app: product sync (2), inventory webhooks via /api/v1/stock, and automatic fulfilment via POST /api/v1/orders. Contact us for early access.