Skip to Content
Sayren 유저가이드
픽업 장소

픽업 장소 목록 조회

`productId`(와 `optionId`, 생략하면 기본 조합)를 주면 장소마다 `purchasable`을 싣는다 — 장소마다 재고가 따로다. 재고 수는 보이지 않는다.

GET
/storefront/v1/pickup-locations

productId(와 optionId, 생략하면 기본 조합)를 주면 장소마다 purchasable을 싣는다 — 장소마다 재고가 따로다. 재고 수는 보이지 않는다.

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Query Parameters

productId*string
optionId*string

Response Body

성공

application/json
  1. response
meta*
data*array<>
error*|null
Example Request
curl -X GET 'https://api.sayren.io/storefront/v1/pickup-locations?productId=string&optionId=string'
Example Response200
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": [
    {
      "locationId": "string",
      "name": "string",
      "address": "string",
      "phone": "string",
      "hours": "string",
      "purchasable": true
    }
  ],
  "error": null
}