| Code | Description |
|---|---|
| 404 | Not found |
| 409 | Conflict |
| 500 | Server crashed for some reason |
This endpoint can be used to apply a hold to general cargo. A successful request returns 201 Created with an empty body.
curl "https://app.octopi.co/api/v1/cargoes/CARGO_ID/holds/HOLD_TYPE_ID/apply.json" -X PUT -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN"
| Param name | Description |
|---|---|
|
id required |
Validations:
|
|
hold_id required |
Validations:
|