﻿{"openapi":"3.0.0","info":{"title":"OneStall Cargo API","version":"1.0.0","description":"API reference for integrating OneStall Cargo logistics into your application."},"servers":[{"url":"https:\/\/api.onestallcargo.com\/api"}],"paths":{"\/v1\/external\/serviceability":{"post":{"summary":"Check Pincode Serviceability","description":"Check if OneStall Cargo or its franchise network can deliver to a specific pincode.","responses":{"200":{"description":"Successful operation"}}}},"\/v1\/external\/rate":{"post":{"summary":"Calculate Shipping Rates","description":"Get real-time dynamic shipping rates based on pickup, delivery pincodes, and physical weight.","responses":{"200":{"description":"Successful operation"}}}},"\/v1\/external\/shipment":{"post":{"summary":"Create Order & Generate AWB","description":"Create a new shipment booking and generate an AWB tracking number across partner courier networks.","responses":{"200":{"description":"Successful operation"}}}},"\/v1\/external\/track\/{awb}":{"get":{"summary":"Track Shipment","description":"Fetch real-time tracking scans and current status for a specific AWB number.","responses":{"200":{"description":"Successful operation"}}}},"\/v1\/shipments":{"get":{"summary":"List Shipments","description":"Retrieve recent shipments for the authenticated seller.","responses":{"200":{"description":"Successful operation"}}}},"\/v1\/shipments\/{awb}\/cancel":{"post":{"summary":"Cancel Shipment","description":"Cancel an unmanifested shipment and refund wallet.","responses":{"200":{"description":"Successful operation"}}}}}}