Set refund approval
Approve or deny a pending refund.
| Path Parameters |
|---|
orderId int32 — REQUIREDThe Order ID. |
refundId uuid — REQUIREDThe Refund ID. |
| Request Body — REQUIRED Contains information about the approval. |
|---|
Approved booleanThe approval decision. Refund will be approved if true and denied if false. |
ApprovalDecidedBy stringThe name of the user that made the approval decision. Optional. |
ApprovalDecidedOn date-timeThe date the approval decision was made. Defaults to now. Optional. |
| Responses | |||
|---|---|---|---|
200The id of the refund.
| |||
400Bad request.
| |||
404Not found.
|