Order Controller
Refund order
Process refund for an order with refund reason
post/orders/refund/{id}
Request
- Base URLhttps://api.findmydocument.net
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
Example:1
The ID of the entity
Request body
Example request
{
"refundAmount": 50,
"refundReason": "Customer requested refund due to product issue"
}Response
Order refunded successfully
Changes
No recorded changes to this operation across all 7 revisions of this API.