| Code | Description |
|---|---|
| 400 | Bad Request. |
| 404 | Not Found. |
| 422 | Unprocessable Entity. |
| 500 | Internal Server Error. |
curl "https://app.octopi.co/api/v1/bill_of_ladings/:bill_of_lading_number/packing_lists.json" -d '{ "container_number": "CONTNUMBER", packing_list: { "client_identifier": "identifier" }}' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=ADD TOKEN HERE"
Example Payload:
{
"container_number": "CONTNUMBER",
"packing_list": {
"client_identifier": "ABC12312"
}
}
| Param name | Description |
|---|---|
|
bill_of_lading_number required |
Validations:
|
|
container_number optional |
Validations:
|
|
client_identifier optional |
Validations:
|
|
packing_list required |
Validations:
|