This API endpoint allows you to update a freight forwarder.
| Code | Description |
|---|---|
| 400 | Bad Request. |
| 404 | Not Found. |
| 500 | Internal Server Error. |
curl "https://app.octopi.co/api/v1/freight_forwarders/353388.json" -X PUT -d '{ "name" : "FC UNITED LLC", "vat_number" : "333" }' -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOUR TOKEN HERE"
{
"freight_forwarder" : {
"id" : 353388,
"name" : "FC UNITED LLC",
"email" : "joe@example.com",
"address" : "123 Main St",
"vat_number" : "333",
"general_ledger_id" : "SL1231",
"contact_person" : "Joe Jones",
"phone" : null,
"active" : true,
"created_at" : "2025-02-27T05:19:17.874-05:00",
"updated_at" : "2025-02-27T05:19:17.874-05:00"
}
}
| Param name | Description |
|---|---|
|
id required |
Validations:
|
|
name optional |
Validations:
|
|
contact_person optional |
Validations:
|
|
phone optional |
Validations:
|
|
address optional |
Validations:
|
|
email optional |
Validations:
|
|
general_ledger_id optional |
Validations:
|
|
vat_number optional |
Validations:
|