This API endpoint allows you to update a trucking company.
Code | Description |
---|---|
400 | Bad Request. |
404 | Not Found. |
500 | Internal Server Error. |
curl "https://app.octopi.co/api/v1/trucking_companies/353388.json" -X PUT -d '{ "name" : "FC UNITED LLC", "code": "222" , "vat_number": "223"}' -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOUR TOKEN HERE"
{ "trucking_company" : { "code" : "222", "contact_person" : "Joe Jones", "phone" : null, "general_ledger_id" : "SL1231", "name" : "FC UNITED LLC", "vat_number" : "223", "address" : "123 Main St", "email" : "joe@example.com", "id" : 353388 } }
Param name | Description |
---|---|
id required |
Validations:
|