Aan de shop gerelateerde livestreamlijst
Inleiding
Haal de livestreamlijst op die bij een opgegeven shop hoort.
Eindpunt
bash
POST /shop/v1/liveListAanvraagbody
| Veld | Type | Verplicht | Beschrijving |
|---|---|---|---|
filter | object | Nee | Filterparameters |
orderby | array | 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 |
|---|---|---|
start_time | Nee | Starttijd |
product_count | Nee | Aantal producten in de livestreamruimte |
total_user_count | Nee | Totaal aantal kijkers |
units_sold | Nee | Verkoopvolume |
gmv | Nee | Verkoopbedrag (GMV) |
Voorbeeld van een aanvraag
bash
curl 'https://openapi.fastmoss.com/shop/v1/liveList' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
"filter": {
"seller_id": "7495500842223700917"
# "creator_uid": "6913013214088004614",
# "creator_unique_id": "caffeinecandleschaos",
# "seller_name": "Caffeine, Candles & Chaos",
# "region": "US",
},
"orderby": [{
"field": "start_time",
"order": "desc"
}],
# "orderby": [{
# "field": "product_count",
# "order": "desc"
# }],
# "orderby": [{
# "field": "total_user_count",
# "order": "desc"
# }],
# "orderby": [{
# "field": "units_sold",
# "order": "desc"
# }],
# "orderby": [{
# "field": "gmv",
# "order": "desc"
# }],
"page": 1,
"pagesize": 10
}'Antwoordbody
data.list
| Veld | Type | Beschrijving |
|---|---|---|
title | string | Titel van de livestreamruimte |
room_id | string | Livestreamruimte-ID |
seller_id | string | Shop-ID |
uid | string | Creator-UID die aan de shop is gekoppeld |
cover | string | Coverafbeelding-URL |
main_category_name | string | Naam van de hoofdzakelijk gepromote categorie |
main_category_id | int | ID van de hoofdzakelijk gepromote categorie |
start_time | int | Starttijd |
units_sold | int | Verkoopvolume |
gmv | float | Verkoopbedrag (GMV) |
product_count | int | Aantal producten in de livestreamruimte |
total_user | int | Totaal aantal kijkers |
duration | int | Livestreamduur (seconden) |
max_user_count | int | Maximaal aantal gelijktijdige kijkers |
inc_follower_count | int | Volgersgroei |
share_count | int | Aantal shares |
is_live | int | Is nu live |
live_type | int | Livestreamtype 1: shoplivestream 2: individuele livestream |
creator | object | Gegevens van de gekoppelde creator |
data.list.creator
| Veld | Type | Beschrijving |
|---|---|---|
uid | string | Gebruikers-ID |
nickname | string | Gebruikersbijnaam |
unique_id | string | Unieke gebruikers-ID |
avatar | string | Gebruikersavatar-URL |
region | string | Land/regio van de gebruiker |
follower_count | int | Aantal volgers van de gebruiker |
category_id | int | Gebruikerscategorie-ID |
category_name | string | Naam van de gebruikerscategorie |
data.total
| Veld | Type | Beschrijving |
|---|---|---|
total | string | Totaal aantal records |
Voorbeeld van een antwoord
json
{
"code": 0,
"data": {
"total": 11943,
"list": [
{
"title": "Food and snacks",
"room_id": "7539139975317703438",
"cover": "https://s.500fd.com/tt_live/7411364270883588910~tplv-obj.image",
"main_category_id": 24,
"main_category_name": "Food & Beverages",
"creator": {
"uid": "73083231876554752",
"avatar": "https://s.500fd.com/tt_author/5aa17bc74b4fd2b91ae364d2a2c6e4d6~tplv-tiktokx-cropcenter:1080:1080.jpeg",
"region": "US",
"nickname": "Courtney Luper 🗝️✨",
"unique_id": "courtneyluper",
"follower_count": 17183,
"category_id": 5,
"category_name": "Food & Beverage"
},
"start_time": 1755343248,
"units_sold": 1939,
"gmv": 4253.69,
"product_count": 99,
"total_user": 84333,
"duration": 37159,
"max_user_count": 430,
"inc_follower_count": 243,
"share_count": 188,
"is_live": 0,
"live_type": 2
}
]
},
"message": "success",
"timestamp": 1773751121,
"request_id": "76d984e2-e0f8-d04c-dc2d-c1fc9a18ffda"
}