POST
request to add a new transport master to the system. It allows users to define transport details, such as the transport provider's name, contact information, and relevant identifiers.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' \
--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,
"via_api": true,
"created_at": "2025-02-19T12:48:14.000000Z",
"updated_at": "2025-02-19T12:48:14.000000Z"
},
"success": true,
"message": "Transport Master Created Successfully."
}