Returns > Returns > returnsRefund
POST:returns/refund.json
Description
Refund a return.
Permission bit: "returns.modify"
Topic: Returns
Arguments
data: ReturnRefund!
Main argument for mutations.
Unique return identifier. See also: Unique Identifiers
Example: "rt_EQzGqWoY"
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Refund amount (doesn't include fee and customer balance portion)
Valid when: amount is a non-negative integer
How much to refund to customer balance
Valid when: customer_balance is a non-negative integer
Refund fee
Valid when: fee is a non-negative integer
Result
Preview (typescript)
Loading module