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/service_order_items/ORDER_ITEM_ID' \
  -X 'DELETE' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token token=YOURTOKEN'
{
  "order_number": "API_TEST_003",
  "id": 79,
  "status": "pending",
  "container_id": 4337700,
  "container_number": "0317933",
  "service_type": "default",
  "service_id": "cleaning",
  "service_name": "Cleaning (Default)"
}

Params

Param name Description
order_number
required

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

Validations:

  • Must be a String

id
required

Octopi ID of the service order item.

Validations:

  • Must be a Integer