partialRefundOrderItem
POST/order/:contractId/:orderId/:orderItemId/partialRefund
Partially refund an order item by refunding a subset of the voucher's passengers.
Validation: refundPax must satisfy 1 <= refundPax <= (totalPax - totalUsed - refundedPax).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 409
- 410
- 412
- 503
Order item successfully partially refunded
Bad request.
The request requires an user authentication.
Response Headers
WWW-Authenticate
Contains authentication challenge details including a dynamic authRedirectUrl.
The access is not allowed.
Order or order item not found
Method not allowed
Refund quantity exceeds available passengers
Refund not available for the provided order item
Refund period overdue for the provided order item
Method Maintenance