This API endpoint allows you to delete a dock receipt.

Supported Formats

json

Errors

Code Description
404 Not found.
422 Unprocessable Entity.
500 Internal Server Error.
409 Entity conflict.

Examples

curl "https://app.octopi.co/api/v1/truck_visits/213/dock_receipts/353388.json" -X DELETE -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOUR TOKEN HERE"
{"dock_receipt_id: 353388}

Params

Param name Description
truck_visit_id
required

Truck visit ID.

Validations:

  • Must be a String

id
required

Dock receipt ID.

Validations:

  • Must be a String