updateOrderItems

@Patch(value = "items")
open override fun updateOrderItems(@Body request: UpdateOrderItemsRequest): HttpResponse<UpdateOrderItemsResponse>

Handles PATCH orders/items.

Updates the items in an order.

Response mapping:

  • 200 OK when items are updated successfully

  • 404 Not Found when order does not exist

  • 401 Unauthorized for unauthorized access

  • 400 Bad Request for empty items

Return

An HTTP response representing the update result.

Parameters

request

Request containing order identifier and new items.