Skip to content

크리에이터가 홍보한 상품 ​

소개 ​

크리에이터의 uid로 해당 크리에이터가 홍보한 상품을 조회합니다.

엔드포인트 ​

bash
POST /creator/v1/productList

요청 본문 ​

필드타입필수설명
filterobject예필터 파라미터
orderbyobject아니요정렬 파라미터
pageinteger아니요페이지 번호, 기본값: 1
pagesizeinteger아니요페이지당 항목 수, 기본값: 10

filter 옵션 ​

필드타입필수설명
uidstring예크리에이터 UID
daysstring아니요기간, 예: [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_idstring상품 ID
uidstring크리에이터 UID
seller_idstring판매자 ID
commission_rateinteger수수료율
product_ratingstring상품 평점
shop_titlestring샵 이름
shop_avatarstring샵 아바타 URL
shop_units_countinteger샵 판매량
shop_gmvfloat샵 GMV
titlestring상품 제목
coverstring상품 커버 URL
categoryarray[object]상품 카테고리
real_pricestring상품 가격
regionstring상품 지역
gmvfloat상품 GMV
units_soldinteger상품 판매량
l1_category_idinteger1단계 카테고리 ID
l2_category_idinteger2단계 카테고리 ID
l3_category_idinteger3단계 카테고리 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
      }
     ]
 }
}