Inventory Status

API Details for 'Inventory Status' webhook.

Configure Webhook

POST /webhooks/subscribe

Use this api to subscribe to the real time order status updates.

Headers

NameTypeDescription

API_KEY*

string

API key obtained by the customer/partner

{
    "status": "PASS",
    "message": "Webhook configured successfully"
}
{
  "webhookId": 13,
  "callbackUrl": "https://myserver.com/send/callback/here",
  "headers": {
      "API_KEY": "bSd74acDFhjzy90vqml"
  },
  "verify_payload": true
}

Event

Topics

updateOrderStatus

Shipment Order status updates

{

"WaybillNo":"c018c43h32", "OrderStatus":"Pending", "CourierComment":null, "StatusDateTime":"2020-07-08T08:12:06.759961+00:00", "ToMobileNumber":"+919898989898", "ToEmail":"abc@xyz.com", "ToName":"My Name", "Client":"ABC", "podDocs":[ "drive.blowhorn.com/SH-1N1LJX7/2180710.JPG", "drive.blowhorn.com/POD_SH-1N1LJX7.PDF" ] }

Update Webhook configuration

PUT /webhooks/update

Use this api to update an existing webhook like callback url, active etc.

Headers

NameTypeDescription

API_KEY

String

API key obtained by the customer/partner

{
   "status": "PASS",
   "message": "Updated the webhook successfully"
}
{
    "webhookId": 12,
    "callbackUrl": "https://myserver.com/send/callback/here",
    "headers": {
        "API_KEY": "bSd74acDFhjzy90vqml"
    },
    "is_active": false
}

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.

Last updated