상품 (Product)
Header parameters
Content-Typestring · enumRequiredPossible values:
컨텐츠 타입
Idempotency-Keystring · uuidRequired
멱등성 키 - 클라이언트가 호출시 전달해야 함 (UUID)
serviceKeystringRequired
서비스키
requestIdstringRequired
리퀘스트 아이디
Body
사용자가 상품을 클릭한 행동을 수집하는 API
specversionstring · enumOptionalPossible values:
스펙 버전
idstring · enumOptionalPossible values:
이벤트 고유 식별자
typestring · enumOptionalPossible values:
이벤트 유형
timestring · date-timeRequired
ISO 8601 UTC 이벤트 생성시간
sourcestringRequired
이벤트 발생 출처
datacontenttypestring · enumOptionalPossible values:
데이터 컨텐츠 타입
dataschemastring · enumOptionalPossible values:
데이터 스키마 경로
Responses
200
수집 성공
No content
400
잘못된 요청
503
서비스 일시 불가
post/actions/click/product
POST /actions/click/product HTTP/1.1
Host: statistics.genser.app
Idempotency-Key: 123e4567-e89b-12d3-a456-426614174000
serviceKey: text
requestId: text
Content-Type: application/json
Accept: */*
Content-Length: 1012
{
"specversion": "1.0",
"id": "EVT-CLICK-PRODUCT",
"type": "click_product",
"time": "2025-11-28T10:00:00Z",
"source": "https://shop.groobee.com",
"data": {
"@context": "https://schema.org/",
"@type": "ChooseAction",
"agent": {
"@type": "Person",
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "memberId",
"value": "groobee1234"
},
{
"@type": "PropertyValue",
"propertyID": "userId",
"value": "2aa9a562-4182-4c59-b886-2be9d2a36b23"
},
{
"@type": "PropertyValue",
"propertyID": "cookieId",
"value": "bb404573-c87f-b4b1-d6e7-f2750499bf06"
}
],
"gender": "Female",
"additionalProperty": [
{
"@type": "PropertyValue",
"propertyID": "type",
"value": "NOMAL"
},
{
"@type": "PropertyValue",
"propertyID": "grade",
"value": "VIP"
},
{
"@type": "PropertyValue",
"propertyID": "age",
"value": 18
}
]
},
"object": {
"@type": "ItemList",
"itemListElement": {
"@type": "ListItem",
"item": {
"@type": "Product",
"sku": "NIKE_0000001",
"name": [
{
"@value": "나이키 에어조던",
"@language": "ko"
}
]
}
},
"position": 1
},
"target": {
"@type": "EntryPoint",
"urlTemplate": "https://shop.groobee.com/product/NIKE_0000001"
}
}
}No content
마지막 업데이트
도움이 되었나요?
