Blowhorn API Documentation
  • Welcome
  • API REFERENCE
    • Authentication
      • Customer Authentication
      • Partner Authentication
    • Orders
      • Shipment Orders
      • Marketplace Orders
      • Cancel Order
      • Order Event
      • Order Event History
      • ETA
      • Delivery Partner Details
      • Order Documents
    • Drivers
      • Available Vehicle Class
      • Driver Availability
      • Payday Loan Eligibility
      • Driver Details
      • Driver Balance
      • Driver Deductions
    • Locations
      • Serviceability
      • Hubs
      • Coverage
      • Location Type
      • Storage Type
      • Location Zone
      • Location
    • WMS Inbound
      • Clients
      • Suppliers
      • Purchase Orders
      • Advance Shipping Notice
      • Goods Receipt Note
    • WMS Outbound
      • Shipping Label
      • Shipping Manifest
    • Inventory
      • Product Group
      • Tracking Level
      • Pack Config
      • SKU
      • Inventory
      • Inventory Transaction
    • Webhooks
      • HMAC Authentication
      • Order Status
      • Trip Status
      • Inventory Status
  • Help
    • FAQ
Powered by GitBook
On this page
  • Create a New Order
  • Postman Collection

Was this helpful?

  1. API REFERENCE
  2. Orders

Marketplace Orders

Create a New Order

POST /orders/booking

Creates a booking order at Blowhorn returning an unique tracking number upon successful validation of payload passed.

Headers

Name
Type
Description

API_KEY

string

Contact Blowhorn team for API Key

{
  "status": "PASS",
  "message": {
    "order_number": "YT6U2O",
    "tracking_url": "https://blowhorn.com/track/YT6U2O",
    "estimated_distance": 4.5,
    "estimated_cost": 450
  }
}
{
  "status": "FAIL",
  "message": "`value` for `pickup_time` is mandatory for advanced booking"
}
{
  "status": "FAIL",
  "message": "Unauthorized / Wrong api key"
}
{
  "status": "FAIL",
  "message": "Unexpected error"
}
{
  "pickup_time": {
    "type": "later",
    "value": "2018-12-12T10:47:35.408907"
  },
  "pickup": {
    "name": "Home",
    "address": {
      "area": "HSR Layout",
      "city": "Bengaluru",
      "postal_code": 560095,
      "full_address": "245, 2nd Cross, HSR Layout Bengaluru"
    },
    "contact": {
      "name": "Mahadevappa",
      "mobile": 9999999999
    },
    "geopoint": {
      "lat": 12.9081357,
      "lng": 77.64760799999999
    }
  },
  "dropoff": {
    "name": "Work",
    "address": {
      "area": "BTM Layout",
      "city": "Bengaluru",
      "postal_code": 560034,
      "full_address": "245, 3rd Main, BTM Layout Bengaluru"
    },
    "contact": {
      "name": "Raj",
      "mobile": 8888888888
    },
    "geopoint": {
      "lat": 12.9165757,
      "lng": 77.61011630000007
    }
  },
  "waypoints": [
    {
      "sequence_id": "1",
      "name": "Waypoint 1",
      "address": {
        "area": "HSR Layout",
        "city": "Bengaluru",
        "postal_code": 560102,
        "full_address": "2287 16th Cross Rd Vanganahalli 1st Sector HSR Layout Bengaluru 560102"
      },
      "contact": {
        "name": "Puneet",
        "mobile": 7777777777
      },
      "geopoint": {
        "lat": 12.912442595996774,
        "lng": 77.64740069737547
      }
    }
  ],
  "items": [
    "Chair",
    "Table"
  ],
  "num_of_labours": 1,
  "vehicle_class": "Mini-Truck",
  "payment_mode": "Online",
  "price_type": "full-day"
}

Postman Collection

We have a Postman collection to make the integration quicker and easier. You can test all our APIs by importing the full API collection through the 'Run in Postman' button and running them in the Postman app.

PreviousShipment OrdersNextCancel Order

Last updated 2 years ago

Was this helpful?

Run in Postman