Skip to main content

v2.ams.query_affiliate_list

GET /api/v2/ams/query_affiliate_list

Retrieve affiliate information by affiliate id.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/ams/query_affiliate_list

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
query_typeint32True1Query type: 1: query affiliate information by id list 2: query affiliate id by name(fuzzy matching), only return affiliate id and affiliate name
affiliate_id_liststringFalse1,2,3Query affiliate information by affiliate id list. Max count of affiliate id is 200. Will return first 200 affiliates' information if length > 200.
namestringFalsedddQuery affiliate information by name use fuzzy matching. Will return first 200 affiliates' information is match number > 200.

Response Parameters

NameTypeSampleDescription
errorstringerror_authIndicate error type if hit error. Empty if no error happened.
messagestringInvalid access_token.Indicate error details if hit error. Empty if no error happened.
request_idstringb937c04e554847789cbf3fe33a0ad5f1The identifier for an API request for error tracking.
responseobject
total_countint32200The total count of affiliates by this query. Max is 200.
affiliate_listobjectAffiliate list by this query. Not all return fields will have values.
affiliate_idint6412345678The unique key for the current affiliate.
affiliate_namestringaffiliate aThe name of the affiliate.
user_namestringssThe shopee user name or affiliate name for this affiliate.
portrait_urlstringThe url of affiliate's portrait
popular_social_mediaobject[]The popular social media of this affiliate.
platformstringmetaThe platform of this social media account.
follower_countint64The follower count of this account.
social_mediasobject[]Social media account list of this affiliate.
platformstringshopee liveThe platform of this social media account.
follower_countint641000The follower count of this account.
social_media_user_namestringdafffdSocial media name of this account.
total_clickint6410000Number of clicks in the last 30 days.
order_rangeint64[][200,400]Range number of the orders in the last 30 days.
gmv_rangeint64[][100000000,500000000]Range number of the gmv in the last 30 days.
is_orange_tick_kolbooleantrueGolden tick means affiliates create high quality contents with good sales conversion in Shopee Live or Shopee Video.
is_good_fulfillmentbooleantrueGood sample fulfillment means that affiliates demonstrate better in free sample fulfillment compared to the majority of affiliates in recent180 days
promote_category_idsint64[][100013,100644,100010]Three promote category ids for this affiliate
top_popular_contentsobject[]Top popular contents of this affiliate.
platformstringshopee liveThe platform of this affiliate's content.
comment_countint64100The comment count of this affiliate's content.
like_countint64300The like count of this affiliate's content.
view_countint641000The view count of this affiliate's content.
cover_urlstringhttps://123456The cover link of this affiliate's content.
media_urlstringThe media link of this affiliate's content.
top_selling_productsobject[]Top selling items of the affiliate.
item_idint6412345678The item id of this item.