Glowb Dev Docs
Main API어필리에이트 API

GET /ai/appiliate/{appiliateId}

어필리에이트 상품 상세 조회

어필리에이트 상품 상세 조회

상품 상세 정보를 조회합니다. 권한에 따라 UTM 링크 처리가 다릅니다.

  • 크리에이터 (인증): UTM 링크 자동 발급
  • 일반 사용자: 상품 정보만 반환
항목
메서드GET
경로/ai/appiliate/{appiliateId}
인증부분적

요청

GET /ai/appiliate/{appiliateId}
Authorization: Bearer {access_token}  # 선택

Path Parameters

파라미터타입필수설명
appiliateIdlong상품 ID

Query Parameters

파라미터타입필수설명
creatorstring아니오크리에이터 ID
utm_sourcestring아니오UTM 소스
utm_mediumstring아니오UTM 미디엄
utm_campaignstring아니오UTM 캠페인
utm_contentstring아니오UTM 콘텐츠

응답

성공 응답 (200 OK)

{
  "status": 200,
  "code": null,
  "message": "어필리에이트 상품 상세 조회 성공",
  "data": {
    "id": 1,
    "title": "상품명",
    "description": "상품 설명",
    "thumbnailImage": "https://...",
    "productImages": ["https://..."],
    "brandName": "브랜드명",
    "originalPrice": 50000,
    "salePrice": 45000,
    "commissionRate": 10,
    "endDate": "2024-02-15",
    "productUrl": "https://...",
    "creatorLink": "https://...?utm_source=glowb&utm_medium=affiliate&..."
  }
}

creatorLink는 인증된 크리에이터에게만 발급됩니다.

API 테스트

On this page