The external_id should be consistent with order.items[x].source_id if you use commerce api to feed order data into AfterShip Returns.
You can also take the external_id from received webhook payload data.return_items[x].external_id
RMA number
Item id
The quantity of item you want to mark as received.
If you need to send notification to your customers