Supported Formats

json

Errors

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

Examples

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"
  }
}

Params

Param name Description
bill_of_lading_number
required

Validations:

  • Must be a String

container_number
optional

Validations:

  • Must be a String

client_identifier
optional

Validations:

  • Must be a String

packing_list
required

Validations:

  • Must be a Hash