Skip to Content
Sayren 유저가이드
컬렉션

컬렉션 목록

노출 중인 컬렉션만 셀러가 정한 순서로 돌려준다. 상품 수는 싣지 않는다.

GET
/storefront/v1/collections

노출 중인 컬렉션만 셀러가 정한 순서로 돌려준다. 상품 수는 싣지 않는다.

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Query Parameters

page?string

페이지 번호 (1부터, 기본 1)

size?string

페이지 크기 (기본 20, 최대 100)

Response Body

성공

application/json
  1. response
meta*
data*
error*|null
Example Request
curl -X GET 'https://api.sayren.io/storefront/v1/collections'
Example Response200
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": {
    "page": 0,
    "size": 0,
    "totalElements": 0,
    "totalPages": 0,
    "contents": [
      {
        "collectionId": "string",
        "slug": "string",
        "title": "string",
        "description": "string",
        "imageUrl": "string",
        "startsAt": "string",
        "endsAt": "string"
      }
    ]
  },
  "error": null
}