So far, don’t have any cancelled/refunded order (which is good, of course), so can’t really test how it works.
If I use Envato API’s function author/sale to get order information by submitting purchase code, what will happen when purchase is refunded (cancelled)? Will API return no data (such as a code never existed) or order information will still be returned, but it will be identified (how) as inactive?