Edit address details

PATCH https://api.shipbubble.com/v1/shipping/address/:address_code

Path Parameters

NameTypeDescription

address_code*

String

address code of address to be edited

Request Body

NameTypeDescription

name*

String

name of address holder

email*

String

email of address holder

phone*

String

phone number of address holder

{
    "status": "success",
    "message": "Address updated successfully",
    "data": {
        "name": "Abon Ayodeji",
        "email": "[email protected]",
        "street_no": "15",
        "street": "Babatunde Jose Street",
        "phone": "+2347079657900",
        "formatted_address": "15 Babatunde Jose St, Victoria Island 106104, Lagos, Nigeria",
        "country": "Nigeria",
        "country_code": "NG",
        "city": "Lagos",
        "city_code": "Lagos",
        "state": "Lagos",
        "state_code": "LA",
        "postal_code": "106104",
        "latitude": 6.436058,
        "longitude": 3.433361
    }
}

Last updated