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 | |||
---|---|---|---|
200 The id of the refund.
| |||
400 Bad request.
| |||
404 Not found.
|