Skip to Content
Sayren 유저가이드
상품

상품 달력 조회

날짜별 재고 상품(상세 `inventoryMode: DATED`)의 날마다 예약 가능 여부와 가격(최대 120일). 조합(`variantId`)을 생략하면 기본 조합이다. 재고 수는 보이지 않는다.

GET
/storefront/v1/products/{productId}/calendar

날짜별 재고 상품(상세 inventoryMode: DATED)의 날마다 예약 가능 여부와 가격(최대 120일). 조합(variantId)을 생략하면 기본 조합이다. 재고 수는 보이지 않는다.

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Path Parameters

productId*string

Query Parameters

from*string
to*string
variantId*string

Response Body

성공

application/json
  1. response
meta*
data*array<>
error*|null
Example Request
curl -X GET 'https://api.sayren.io/storefront/v1/products/string/calendar?from=string&to=string&variantId=string'
Example Response200
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": [
    {
      "date": "string",
      "available": true,
      "price": 0
    }
  ],
  "error": null
}