Querying licenses by resellerId

Previously we were using the “resellerId” field on each license to tracker the reseller user for those licenses. Since the recent Reseller User migration, I’ve modified our license creation logic so that it puts the reseller user id in the “additionalUserIds” field of the license.

However we are also using a query to fetch all the licenses associated to a particular reseller. For this, we use this query:


After the migration, this no longer works.

What should I update this query to?

Hi Francis,

Since the reseller is now just a user in your approach, you can simply do the following:

1 Like