﻿{"info":{"name":"OneStall Cargo API","description":"Interactive RESTful API for developers.","schema":"https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"},"item":[{"name":"Verify Authentication & Profile","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/user","host":["{{base_url}}"],"path":["v1","user"]},"description":"Test your API Bearer token, verify your authenticated seller account, check wallet balance, KYC verification status, and registered merchant details."}},{"name":"Calculate Shipping Rates","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/external\/rate","host":["{{base_url}}"],"path":["v1","external","rate"]},"description":"Get real-time dynamic shipping rates based on pickup, delivery pincodes, and physical weight."}},{"name":"Courier Rates & Delivery ETA","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/rates","host":["{{base_url}}"],"path":["v1","rates"]},"description":"Calculate and compare real-time shipping freight charges, COD handling fees, and delivery ETAs across courier partners (Delhivery, Blue Dart, Shadowfax, Xpressbees) based on weight, dimensions, and COD invoice value."}},{"name":"Create & Book Shipment (Generate AWB)","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/shipments","host":["{{base_url}}"],"path":["v1","shipments"]},"description":"Book a new shipment order. Validates account KYC, calculates exact courier rate, deducts shipping charge from merchant wallet, assigns nearest courier hub routing, and generates an official AWB tracking number."}},{"name":"Track Shipment by AWB Number","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/shipments\/{awb}","host":["{{base_url}}"],"path":["v1","shipments","{awb}"]},"description":"Retrieve real-time tracking status, courier transit milestones, hub scan logs, out-for-delivery status, and delivery confirmation by AWB number."}},{"name":"Create Shipment (New)","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/shipments","host":["{{base_url}}"],"path":["v1","shipments"]},"description":"Create a new shipment directly from seller balance."}},{"name":"List All Shipments (Paginated)","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/shipments","host":["{{base_url}}"],"path":["v1","shipments"]},"description":"Retrieve a paginated list of all consignments created by your merchant account. Filter by status, payment mode, or creation date range."}},{"name":"Cancel Shipment & Auto Refund","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/shipments\/{awb}\/cancel","host":["{{base_url}}"],"path":["v1","shipments","{awb}","cancel"]},"description":"Cancel an unpicked or manifested shipment. The total booking fee deducted during creation is instantly credited back into your merchant wallet."}},{"name":"Pincode Serviceability & Reach","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/external\/serviceability","host":["{{base_url}}"],"path":["v1","external","serviceability"]},"description":"Check whether a 6-digit Indian postal pincode is covered by OneStall Cargo nationwide fulfillment network and whether Cash on Delivery (COD) is available."}},{"name":"E-Commerce Store Order Webhook","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}","type":"text"}],"url":{"raw":"{{base_url}}\/v1\/integrations\/{platform}\/webhook\/{user_id}","host":["{{base_url}}"],"path":["v1","integrations","{platform}","webhook","{user_id}"]},"description":"Receive automated incoming order creation webhooks from Shopify, WooCommerce, or custom storefronts to instantly generate shipments and manifest labels."}}],"variable":[{"key":"base_url","value":"https:\/\/api.onestallcargo.com\/api","type":"string"},{"key":"api_key","value":"OSC_YOUR_KEY","type":"string"}]}