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

Was this helpful?

  1. API REFERENCE
  2. Orders

Cancel Order

Use this API to cancel any order created earlier in the blowhorn system.

Cancel an Order

PUT /api/orders/cancel/{orderId}

Use this API to cancel an order before it has been picked up(which is in the pending status) It will mark order as cancelled. OrderId is sent to the customer when the Order is created. NOTE - Order can be cancelled only when it's status is Pending (New-Order) and Pickup-Failed status.

Path Parameters

Name
Type
Description

orderId*

string

AWB Number / Shipment ID received when order is created

Headers

Name
Type
Description

API_KEY*

string

Contact Blowhorn team for API Key

{
  "status": "PASS",
  "message": "Order Cancelled Successfully"
}
{
    "status": "FAIL",
    "message": "The order can't be cancelled now"
}
{
  "status": "FAIL",
  "message": "Unauthorized"
}
{
  "status": "FAIL",
  "message": "Unexpected error"
}
PreviousMarketplace OrdersNextOrder Event

Last updated 2 months ago

Was this helpful?