Allows you to modify flex fields for booking line items in Octopi.
This resource allows you to access flex fields for booking line items in Octopi.
Code | Description |
---|---|
400 | Bad Request. |
404 | Not Found. |
422 | Unprocessable Entity. |
500 | Internal Server Error. |
curl "https://app.octopi.co/api/v1/shipping_lines/SHIPPING_LINE_CODE/bookings/BOOKING_ID/line_items/LINE_ITEM_ID/flex_fields/LABEL" \ -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:
|