curl -v -X PUT \\
-H "Accept: application/json" \\
-H "Content-Type: application/json" \\
-H "Authorization: Token token=YOUR_TOKEN" \\
-d'{
"goods":"linux laptops",
"seal1":"SEAL1",
"seal2":"SEAL2",
"seal3":"SEAL3",
"seal4":"SEAL4",
"remarks":"remarks for stuffing",
"booking":"BOOKING123",
"consignee":"APPLE Inc",
"truck":"TR2904",
"weight":2000.34
}' \\
"https://app.octopi.co/api/v1/containers/CONTAINER_NUMBER/stuff"
| Param name | Description |
|---|---|
|
container_number required |
The container number. Validations:
|
|
occurred_at optional |
when stuffing occurred, will use current time if not provided Validations:
|
|
goods optional |
goods stuffed into container Validations:
|
|
seal1 optional |
seal-1 added when stuffing is completed Validations:
|
|
seal2 optional |
seal-2 value when stuffing is completed Validations:
|
|
seal3 optional |
seal-3 value when stuffing is completed Validations:
|
|
seal4 optional |
seal-4 value when stuffing is completed Validations:
|
|
remarks optional |
remarks for stuffing Validations:
|
|
booking optional |
booking number provided by the truck for stuffing Validations:
|
|
consignee optional |
consignee name that will receive the goods stuffed Validations:
|
|
truck optional |
license plate of the truck from which container gets stuffed Validations:
|
|
weight optional |
total weight of the container and its cargo. Uses the default weight unit that is configured for your organization. Weights will not be automatically converted if they are entered using a different weight unit. Validations:
|