POST
method, and it requires the dispatch address ID to be passed in the URL along with the updated details in the request body.ApiKey: ********************
curl --location --request POST 'https://app.hisabkitab.co/third-party/dispatch-addresses/1' \
--header 'ApiKey: <api-key>' \
--form 'address_1="OFFICE 7892"' \
--form 'address_2="RING ROAD 789"' \
--form 'country_id="4"' \
--form 'state_id="2"' \
--form 'city_id="6"' \
--form 'pin_code="395009"'
{
"data": {
"id": 3,
"address_1": "OFFICE 7892",
"address_2": "RING ROAD 789",
"country_id": "4",
"state_id": "2",
"city_id": "6",
"pin_code": "395009",
"model_id": 6,
"model_type": "App\\Models\\Company",
"address_type": 2,
"created_at": "2025-02-13T06:25:45.000000Z",
"updated_at": "2025-02-13T06:45:54.000000Z"
},
"success": true,
"message": "Dispatch Address Updated Successfully."
}