I can't be exactly sure, but it should be querying the UPS tracking API for reference numbers. These are assigned by the shipper (can be a description, customer name, or in this case sequential SKU blocks of 2000) so knowing the pattern would get you all of them.