Webhook simulator (sandbox)

Simulate a webhook event using this API for test purposes.

POST https://api.shipbubble.com/v1/shipping/labels/webhooks/:order_id

Path Parameters

Request Body

{
    "status": "success",
    "message": "Webhook sent successfully"
}

Sample webhook payload

{
                "order_id": "SB-244512FE8276",
                "status": "pending",
                "courier": {
                    "name": "Test courier 2",
                    "email": "test2@getdelivry.com",
                    "phone": "08012345678",
                    "tracking_code": "725478",
                    "tracking_message": "Tracking code: 725478",
                    "rider_info": null
                },
                "ship_from": {
                    "name": "Lebron James",
                    "phone": "+2348057575855",
                    "email": "lebron@james.com",
                    "address": "F9X6+W9V, Alh. Masha Rd, Surulere 101241, Lagos, Nigeria"
                },
                "ship_to": {
                    "name": "Lebron James",
                    "email": "lebron@james.com",
                    "phone": "+2348057575855",
                    "address": "F9X6+W9V, Alh. Masha Rd, Surulere 101241, Lagos, Nigeria"
                },
                "to_be_processed": "2022-07-13T21:42:32.000Z",
                "payment": {
                    "shipping_fee": 2250,
                    "currency": "NGN"
                },
                "package_status": [
                    {
                        "status": "Pending",
                        "datetime": "2022-07-13 22:42:32"
                    }
                ],
                "events": [],
                "dropoff_station": null,
                "pickup_station": null,
                "tracking_url": "http://localhost:3000/orders/tracking/SB-244512FE8276",
                "waybill_document": "https://storage.googleapis.com/get-web-app-assets/test-waybills/TEST-WAYBILL-DOCUMENT.pdf",
                "date": "2022-07-13T21:42:32.000Z"
            }

Last updated