컬렉션
컬렉션 조회
주소(`slug`)로 찾는다. `productSort`는 상품 목록의 기본 정렬이다. 판매량 상위·판매량순 컬렉션은 `productSort`가 `manual`(컬렉션 순서 = 판매량 순)이고 `salesComputedAt`이 판매량 기준 시각이다.
주소(slug)로 찾는다. productSort는 상품 목록의 기본 정렬이다. 판매량 상위·판매량순 컬렉션은 productSort가 manual(컬렉션 순서 = 판매량 순)이고 salesComputedAt이 판매량 기준 시각이다.
AuthorizationBearer <token>
회원 accessToken
In: header
Path Parameters
slug*string
Response Body
application/json
curl -X GET "https://example.com/storefront/v1/collections/string"{ "meta": { "status": 200, "code": "OK", "message": "OK", "isSuccess": true }, "data": { "collectionId": "string", "slug": "string", "title": "string", "description": "string", "imageUrl": "string", "startsAt": "string", "endsAt": "string", "productSort": "string", "metaTitle": "string", "metaDescription": "string", "salesComputedAt": null }, "error": null}컬렉션 목록 GET
노출 중인 컬렉션만 셀러가 정한 순서로 돌려준다. 상품 수는 싣지 않는다.
컬렉션 상품 목록 GET
판매 중인 상품만 상품 검색과 같은 카드로 돌려준다. `sort`를 생략하면 컬렉션의 기본 정렬이고, `manual`은 셀러가 정한 순서다. 조건 자동 컬렉션은 조회할 때마다 조건을 만족하는 상품을 계산하고, 정한 순서가 없어 `manual`은 기본 정렬과 같다. 판매량 상위 조건은 다른 조건을 만족하는 상품 중 기간 판매 수량 상위 N개이고, 판매량순 컬렉션의 `manual`은 판매 수량이 많은 순이다(집계는 최대 10분 늦다).