This resource allows you to access flex fields for general_cargo on Octopi

Supported Formats

json

PUT /api/v1/general_cargoes/:id/flex_fields/:label
Updates a specific general cargo

This resource allows you to access flex fields for general cargo on Octopi.

Supported Formats

json

Errors

Code Description
400 Bad Request.
500 Internal Server Error.

Examples

curl "https://app.octopi.co/api/v1/general_cargoes/ID/flex_fields/flex_field_label -X PUT
"Authorization: Token token=ADD TOKEN HERE" -d '{ value: "FLEX_FIELD_VALUE" }'
"value": "FLEX_FIELD_VALUE" 

Params

Param name Description
label
required

Label of the flex field

Validations:

  • Must be a String

value
required

Value of the flex field to change

Validations:

  • Must be a String