Supported Formats

json

Errors

Code Description
404 Resource Not Found
422 Validation Error
500 Internal Server Error

Examples

curl 'https://app.octopi.co/api/v1/service_orders/ORDER_NUMBER.json' \
  -X 'DELETE' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token token=YOURTOKEN'
{
  "id": 28,
  "order_number": "SO120240104008",
  "due_at": "2024-02-03T01:28:00-05:00",
  "cargo_type": "breakbulk",
  "status": "pending",
  "comment": "",
  "created_at": "2024-01-04T01:28:56-05:00",
  "ordered_by": "Kamalraj Matheswaran",
  "service_order_items": []
}

Params

Param name Description
order_number
required

Octopi ID or the unique service order number given while creating one.

Validations:

  • Must be a String