POST
request to update the details of an existing transport master. By providing the unique identifier (transport id) and updated information.ApiKey: ********************
{
"transporter_name": "Joan",
"gstin": "",
// contact details
"contact_name": "",
"region_iso": "in",
"region_code": "91",
"contact_phone_number": "",
"contact_email": "",
// address
"address_1": null,
"address_2": null,
"country_id": 1,
"state_id": 1,
"city_id": 1,
"pin_code": 1
}
curl --location --request POST 'https://app.hisabkitab.co/third-party/transport-masters/1' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"transporter_name": "Joan",
"gstin": "",
// contact details
"contact_name": "",
"region_iso": "in",
"region_code": "91",
"contact_phone_number": "",
"contact_email": "",
// address
"address_1": null,
"address_2": null,
"country_id": 1,
"state_id": 1,
"city_id": 1,
"pin_code": 1
}'
{
"data": {
"id": 1,
"transporter_name": "Joan",
"gstin": null,
"company_id": 6,
"contact_name": null,
"region_iso": "in",
"region_code": "91",
"contact_phone_number": null,
"contact_email": null,
"addresses": {
"id": 2,
"address_1": null,
"address_2": null,
"country_id": 1,
"state_id": 1,
"city_id": 1,
"pin_code": 1,
"model_id": 4,
"model_type": "App\\Models\\Master\\Transport",
"address_type": null,
"created_at": "2025-02-11T10:25:06.000000Z",
"updated_at": "2025-02-11T10:25:06.000000Z"
},
"via_api": false,
"created_at": "2025-02-11T10:25:06.000000Z",
"updated_at": "2025-02-11T10:30:51.000000Z"
},
"success": true,
"message": "Transport Master Updated Successfully."
}