This resource allows you to lift and apply holds based on a hold type for all the cargo on a bill of lading.
This endpoint can be used to lift all holds from a bill of lading.“
Code | Description |
---|---|
404 | Not found |
500 | Server crashed for some reason |
curl "https://app.octopi.co/api/v1/voyages/:voyage_number/bill_of_ladings/:bill_of_lading_number/hold_types/:hold_type_id/lift.json" -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN" -d '{"hold": { "reference_number": "Your Reference Number", "notes": "Your notes" } }'
This endpoint can be used to lift all holds from a bill of lading.“
Code | Description |
---|---|
404 | Not found |
500 | Server crashed for some reason |
curl "https://app.octopi.co/api/v1/voyages/:voyage_number/bill_of_ladings/:bill_of_lading_number/hold_type/:hold_type_id/apply.json" -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN" -d '{"hold": { "reference_number": "Your Reference Number" } }'