Create shipment

The Shipping Label API enables you to route your order to your selected courier service.

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

Request Body

{
    "status": "success",
    "message": "Order succesfully routed to Darum NG",
    "data": {
        "order_id": "GET-2CF48272",
        "courier": {
            "name": "Darum NG",
            "email": "darum@darum.com",
            "phone": "010000038198"
        },
        "status": "pending",
        "ship_from": {
            "name": "Lebron James",
            "phone": "+2348057575855",
            "email": "lebron@james.com",
            "address": "Obafemi Awolowo Way, Alausa 101233, Ojodu, Nigeria",
            "latitude": 6.6143564,
            "longitude": 3.3581327
        },
        "ship_to": {
            "name": "Lebron James",
            "phone": "+2348057575855",
            "email": "lebron@james.com",
            "address": "Phase 1, 4 Michael Olawale-Cole Dr, Lekki Phase I 106104, Lagos, Nigeria",
            "latitude": 6.459056599999999,
            "longitude": 3.4769383
        },
        "payment": {
            "shipping_fee": 2785,
            "type": "wallet",
            "status": "completed",
            "currency": "₦"
        },
        "items": [
            {
                "name": "Jameson",
                "description": "The drink dey shak die",
                "weight": 0.004,
                "amount": "5000",
                "quantity": "2",
                "total": 10000
            },
            {
                "name": "Hennesy",
                "description": "Bad boys flow",
                "weight": 2,
                "amount": "150000",
                "quantity": "10",
                "total": 1500000
            }
        ],
        "tracking_url": "https://localhost:5000/orders/tracking/GET-2CF48272",
        "date": "2021-12-19 01:23:19"
    }
}

Last updated