크리에이터가 홍보한 상품
소개
크리에이터의 uid로 해당 크리에이터가 홍보한 상품을 조회합니다.
엔드포인트
bash
POST /creator/v1/productList요청 본문
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
filter | object | 예 | 필터 파라미터 |
orderby | object | 아니요 | 정렬 파라미터 |
page | integer | 아니요 | 페이지 번호, 기본값: 1 |
pagesize | integer | 아니요 | 페이지당 항목 수, 기본값: 10 |
filter 옵션
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
uid | string | 예 | 크리에이터 UID |
days | string | 아니요 | 기간, 예: [0, 7, 14, 28, 90] |
orderby 옵션
| 필드 | 필수 | 설명 |
|---|---|---|
units_sold | 아니요 | 상품 판매 수량 (내림차순) |
gmv | 아니요 | 상품 GMV (내림차순) |
commission_rate_percent | 아니요 | 수수료율 (내림차순) |
orderby형식:{"field": "units_sold", "order": "desc"}. 전달하지 않으면 페이지네이션이 안정되도록product_id(내림차순)로 정렬됩니다.
요청 예시
bash
curl 'https://openapi.fastmoss.com/creator/v1/productList' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
"filter": {
"uid": "6893103660525831169",
"days": 7
},
"orderby": {
"field": "units_sold",
"order": "desc"
},
# "orderby": {
# "field": "gmv",
# "order": "desc"
# },
# "orderby": {
# "field": "commission_rate_percent",
# "order": "desc"
# },
"page": 1,
"pagesize": 10
}'응답 본문
data.total
결과 총개수
data.list
| 필드 | 타입 | 설명 |
|---|---|---|
product_id | string | 상품 ID |
uid | string | 크리에이터 UID |
seller_id | string | 판매자 ID |
commission_rate | integer | 수수료율 |
product_rating | string | 상품 평점 |
shop_title | string | 샵 이름 |
shop_avatar | string | 샵 아바타 URL |
shop_units_count | integer | 샵 판매량 |
shop_gmv | float | 샵 GMV |
title | string | 상품 제목 |
cover | string | 상품 커버 URL |
category | array[object] | 상품 카테고리 |
real_price | string | 상품 가격 |
region | string | 상품 지역 |
gmv | float | 상품 GMV |
units_sold | integer | 상품 판매량 |
l1_category_id | integer | 1단계 카테고리 ID |
l2_category_id | integer | 2단계 카테고리 ID |
l3_category_id | integer | 3단계 카테고리 ID |
응답 예시
json
{
"code": 0,
"msg": "success",
"data": {
"total": 8,
"list": [
{
"product_id": "1729539239170312086",
"uid": "6893103660525831169",
"seller_id": "7494962456968727446",
"commission_rate": 0,
"product_rating": "0.0",
"shop_title": "Twobakeboys",
"shop_avatar": "https://s.500fd.com/tt_shop/6413a6ce066e4108a30e50d1033dac88~tplv-aphluv4xwc-resize-png:300:300.png",
"shop_units_count": 23867,
"shop_gmv": 607576.80,
"title": "Pineapple tart 230g per bottle",
"cover": "https://s.500fd.com/default/product_default.png",
"category": [
"Food & Beverages"
],
"real_price": "S$15.00",
"region": "SG",//product's region
"gmv": 0,
"units_sold": 0,
"l1_category_id":24,//product's l1 category_id
"l2_category_id":915336,//product's l2 category_id
"l3_category_id":700553//product's l3 category_id
}
]
}
}