updateTakeawayOrderInfo

@Patch(value = "takeaway")
open override fun updateTakeawayOrderInfo(@Body request: UpdateTakeawayOrderRequest): HttpResponse<UpdateTakeawayOrderResponse>

Handles PATCH orders/takeaway.

Updates takeaway information for a takeaway order.

Response mapping:

  • 200 OK when takeaway info is updated

  • 404 Not Found when order does not exist

  • 401 Unauthorized for unauthorized access

  • 400 Bad Request for invalid date

Return

An HTTP response representing the update result.

Parameters

request

Request containing takeaway order update details.