sayren Docs
컬렉션

컬렉션 조회

주소(`slug`)로 찾는다. `productSort`는 상품 목록의 기본 정렬이다. 판매량 상위·판매량순 컬렉션은 `productSort`가 `manual`(컬렉션 순서 = 판매량 순)이고 `salesComputedAt`이 판매량 기준 시각이다.

GET
/storefront/v1/collections/{slug}

주소(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}