This resource allows you to access flex fields for booking line items in Octopi.
Code | Description |
---|---|
400 | Bad Request. |
500 | Internal Server Error. |
curl "/api/v1/shipping_lines/OCTO/bookings/177237588/line_items/3/flex_fields/a" \ -X PUT \ "Authorization: Token token=ADD TOKEN HERE" \ -d '{ "value": "FLEX_FIELD_VALUE" }'
"value": "FLEX_FIELD_VALUE"
Param name | Description |
---|---|
code required |
Shipping Line Code Validations:
|
line_item_number required |
Line Item Number Validations:
|
number required |
Booking Number Validations:
|
label required |
Flex field label (case-sensitive). Validations:
|
value required |
Flex field value. Passing a null value will remove the flex field. Validations:
|