Shopaffiliates
Inleiding
Haal affiliates op die een shop promoten via de seller_id.
Eindpunt
bash
POST /shop/v1/creatorListAanvraagbody
| Veld | Type | Verplicht | Beschrijving |
|---|---|---|---|
filter | object | Nee | Filterparameters |
orderby | object | Nee | Sorteerparameters |
page | integer | Nee | Standaard: 1 |
pagesize | integer | Nee | Standaard: 10 |
Optionele waarden van filter
| Veld | Type | Verplicht | Beschrijving |
|---|---|---|---|
seller_id | string | Nee | Shop-ID |
creator_uid | string | Nee | Creator-UID die aan de shop is gekoppeld |
creator_unique_id | string | Nee | Unieke creator-ID die aan de shop is gekoppeld: @xxxxxxx |
seller_name | string | Nee | Shopnaam |
region | string | Nee | Land/regio van de shop |
seller_nameenregionmoeten samen worden meegegeven
Optionele waarden van orderby
| Veld | Verplicht | Beschrijving |
|---|---|---|
digg_count | Nee | Aantal likes |
follower_count | Nee | Aantal volgers |
units_sold | Nee | Verkoopvolume |
gmv | Nee | Verkoopbedrag (GMV) |
Voorbeeld van een aanvraag
bash
curl 'https://openapi.fastmoss.com/shop/v1/creatorList' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
"filter": {
"seller_id": "7495500842223700917"
# "creator_uid": "xxxxxxxxxxx",
# "creator_unique_id": "xxxxxxx",
# "seller_name": "xxxxxx",
# "region": "US"
},
"orderby": [{
"field": "units_sold",
"order": "desc"
}],
# "orderby": [{
# "field": "gmv",
# "order": "desc"
# }],
# "orderby": [{
# "field": "follower_count",
# "order": "desc"
# }],
# "orderby": [{
# "field": "digg_count",
# "order": "desc"
# }],
"page": 1,
"pagesize": 10
}'Antwoordbody
data.total
Totaal aantal resultaten
data.list
| Veld | Type | Beschrijving |
|---|---|---|
uid | string | Creator-UID |
seller_id | string | Shop-ID |
unique_id | string | Unieke creator-ID |
nickname | string | Creatorbijnaam |
avatar | string | Creatoravatar-URL |
units_sold | integer | Creatorverkoop |
gmv | float | Creator-GMV |
category_id | integer | Creatorcategorie-ID |
category_name | string | Naam van de creatorcategorie |
follower_count | integer | Aantal volgers van de creator |
aweme_count | integer | Aantal creatorvideo's |
favoriting_count | integer | Aantal items dat de creator leuk vond |
region | string | Creatorregio |
Voorbeeld van een antwoord
json
{
"code": 0,
"msg": "success",
"data": {
"total": 8,
"list": [
{
"uid": "6893103660525831169",
"seller_id": "xxxxxxxxxxxx",
"units_sold": 1354,
"gmv": 22034.60,
"unique_id": "twobakeboys",
"nickname": "Twobakeboys",
"avatar": "https://s.500fd.com/tt_author/935c7d720caecc448ed85fbcbac1218b~c5_300x300.jpeg",
"category_id": 5, //creator's category_id
"category_name": "Food & Beverage", //creator's category_name
"category": [//deprecated
"Food & Beverage"
],
"follower_count": 22572,
"aweme_count": 510,
"favoriting_count": 480,
"region": "SG" //creator's region
}
]
}
}