Supported Formats

json

Errors

Code Description
400 Bad Request.
404 Not Found.
500 Internal Server Error.

Examples

curl "https://app.octopi.co/api/v1/consignees/ID/packing_list_items.json?voyage_number=100SB" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN"
{
    "packing_list_items": [
        {
            "reference_number": "",
            "bill_of_lading": {
                "number": "GCBOOK1"
            },
            "container": {
                "number": "OCTO1234580"
            },
            "consignee": {
                "name": "MLS Exports"
            },
            "quantity": 50,
            "weight": 13607.7711,
            "volume": 1.019406477312,
            "package_type": {
                "code": "BE",
                "description": "bundle"
            },
            "description": "Steel",
            "consignee_address": null,
            "shipping_marks": "",
            "dock_receipt_number": "",
            "has_been_stripped": false,
            "has_been_delivered": false,
            "stripped_quantity": 0
        }
    ]
}

Params

Param name Description
consignee_id
required

Validations:

  • Must be a Integer

voyage_number
optional

Validations:

  • Must be a String