Operation Id:
refunds/addAutomaticRefund/ [Official Documentaction]
Methods
- sourceType 'return'|'rma'
- sourceId Integer
Examples
This function adds an automatic refund with a source ID of 1 and a source type of "return".
const result = await idosellRequest.postRefundsAddAutomaticRefund
.sourceId(1)
.sourceType("return")
.exec()