This API endpoint allows you to update a freight forwarder.

Supported Formats

json

Errors

Code Description
400 Bad Request.
404 Not Found.
500 Internal Server Error.

Examples

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" : {
      "contact_person" : "Joe Jones",
      "phone" : null,
      "general_ledger_id" : "SL1231",
      "name" : "FC UNITED LLC",
      "vat_number" : "333",
      "address" : "123 Main St",
      "email" : "joe@example.com",
      "id" : 353388
   }
}

Params

Param name Description
id
required

Validations:

  • Must be a String