Supported Formats

json

Errors

Code Description
404 Not found
500 Server crashed for some reason

Examples

curl -v -X PUT \
  -H "Accept: application/json"  \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_TOKEN" \
  -d'{"goods": "linux laptops"}' \
  "https://app.octopi.co/api/v1/containers/CONTAINER_NUMBER/stuff"
curl -v -X PUT \
  -H "Accept: application/json"  \
  -H "Content-Type: application/json" \
  -H "Authorization: Token token=YOUR_TOKEN" \
  "https://app.octopi.co/api/v1/containers/CONTAINER_NUMBER/stuff"

Params

Param name Description
number
required

Validations:

  • Must be String

occurred_at
optional

when stuffing occurred, will use current time if not provided

Validations:

  • Must be DateTime

goods
optional

goods stuffed into container

Validations:

  • Must be String