# Rest API v1: List Commissions end point doesn't return tier 2 sold\_by\_name for the affiliate ID passed to the endpoint

**URL:** <https://integration.keap.com/t/rest-api-v1-list-commissions-end-point-doesnt-return-tier-2-sold-by-name-for-the-affiliate-id-passed-to-the-endpoint/88839>\
**Category:** API Q&A\
**Created:** [September 21, 2022, 8:05pm UTC](https://integration.keap.com/t/rest-api-v1-list-commissions-end-point-doesnt-return-tier-2-sold-by-name-for-the-affiliate-id-passed-to-the-endpoint/88839 "2022-09-21T20:05:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Beach1](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@Jason\_Beach1](https://integration.keap.com/u/Jason_Beach1)\
**Post date:** [September 21, 2022, 8:05pm UTC](https://integration.keap.com/t/rest-api-v1-list-commissions-end-point-doesnt-return-tier-2-sold-by-name-for-the-affiliate-id-passed-to-the-endpoint/88839/1 "2022-09-21T20:05:47Z")

</div>

The endpoint returns all the commissions for the affiliate, however, if a tier 2 setup is involved, the endpoint’s sold\_by\_first\_name and sold\_by\_last\_name is that of the affiliate ID provided in the query and not the Tier 2 affiliate’s name.

So essentially, when listing all commissions, the sold by name is that of the Affiliate ID we pass in the endpoint even though it’s a tier 2 commission. There is no way to determine who the sold\_by\_name is if the commission is from a tier 2 sale. Is this by design or an oversight in the API?

Anyone have a work around or can this endpoint be updated?
