Skip to Content
Sayren 유저가이드
상품

상품 상세 조회

경로에는 상품 id(`prod_…`) 또는 숫자 상품번호(`productNo`, 이슈 #107)를 넣는다. 판매 중이 아닌 상품은 404 `PRODUCT_NOT_FOUND`다.

GET
/storefront/v1/products/{productId}

경로에는 상품 id(prod_…) 또는 숫자 상품번호(productNo, 이슈 #107)를 넣는다. 판매 중이 아닌 상품은 404 PRODUCT_NOT_FOUND다.

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Path Parameters

productId*string

Response Body

성공

application/json
  1. response
meta*
data*
error*|null
Example Request
curl -X GET 'https://api.sayren.io/storefront/v1/products/string'
Example Response200
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": {
    "productId": "prod_3f9a1c2b7d4e",
    "currency": "KRW",
    "availableInMarket": true,
    "productNo": 482,
    "name": "오버핏 코튼 반팔 티셔츠",
    "thumbnailUrl": "https://cdn.avarlabs.com/demo/tshirt-white.jpg",
    "salePrice": 29000,
    "discountedPrice": 26100,
    "discountRate": 10,
    "originalPrice": 39000,
    "freeShipping": false,
    "fulfillment": {
      "type": "SHIPPING",
      "requiresShipping": true,
      "shipping": {
        "deliveryType": "CONDITIONAL_FREE",
        "deliveryFee": 3000,
        "conditionalFreeAmount": 50000,
        "estimatedDays": "1~2일",
        "returnDeliveryFee": 3000,
        "exchangeDeliveryFee": 6000
      }
    },
    "averageRating": 4.7,
    "reviewCount": 128,
    "soldOut": false,
    "description": "<p>도톰한 20수 코튼으로 만든 오버핏 반팔 티셔츠입니다.</p>",
    "images": [
      "https://cdn.avarlabs.com/demo/tshirt-white.jpg"
    ],
    "optionGroups": [
      {
        "groupId": "og_color",
        "name": "색상",
        "values": [
          {
            "valueId": "ov_white",
            "name": "화이트"
          },
          {
            "valueId": "ov_black",
            "name": "블랙"
          }
        ]
      },
      {
        "groupId": "og_size",
        "name": "사이즈",
        "values": [
          {
            "valueId": "ov_m",
            "name": "M"
          },
          {
            "valueId": "ov_l",
            "name": "L"
          }
        ]
      }
    ],
    "variants": [
      {
        "variantId": "var_white_m",
        "variantNo": "482-01",
        "valueIds": [
          "ov_white",
          "ov_m"
        ],
        "name": "화이트 / M",
        "additionalPrice": 0,
        "soldOut": false
      },
      {
        "variantId": "var_white_l",
        "variantNo": "482-02",
        "valueIds": [
          "ov_white",
          "ov_l"
        ],
        "name": "화이트 / L",
        "additionalPrice": 0,
        "soldOut": false
      },
      {
        "variantId": "var_black_m",
        "variantNo": "482-03",
        "valueIds": [
          "ov_black",
          "ov_m"
        ],
        "name": "블랙 / M",
        "additionalPrice": 0,
        "soldOut": false
      },
      {
        "variantId": "var_black_l",
        "variantNo": "482-04",
        "valueIds": [
          "ov_black",
          "ov_l"
        ],
        "name": "블랙 / L",
        "additionalPrice": 1000,
        "soldOut": false
      }
    ],
    "addonGroups": [
      {
        "groupId": "og_wrap",
        "name": "선물 포장",
        "required": false,
        "values": [
          {
            "valueId": "ov_wrap_box",
            "name": "상자 포장",
            "additionalPrice": 2000
          }
        ]
      }
    ],
    "customInputs": [
      {
        "inputId": "cin_engrave",
        "label": "각인 문구",
        "placeholder": "영문 10자까지",
        "maxLength": 10,
        "required": false
      }
    ],
    "returnPeriodDays": 7,
    "purchasePoint": 590,
    "categoryPath": [
      {
        "categoryId": "cat_fashion",
        "name": "패션의류"
      },
      {
        "categoryId": "cat_men",
        "name": "남성의류"
      },
      {
        "categoryId": "cat_tshirt",
        "name": "티셔츠"
      }
    ],
    "notice": {
      "schemaId": "WEAR",
      "name": "의류",
      "fields": [
        {
          "key": "material",
          "label": "제품 소재",
          "value": "면 100%"
        },
        {
          "key": "color",
          "label": "색상",
          "value": "블랙, 화이트"
        },
        {
          "key": "size",
          "label": "치수",
          "value": "S, M, L"
        }
      ]
    },
    "certifications": {
      "items": [],
      "exemptions": [
        {
          "subject": "KC",
          "subjectLabel": "KC 인증",
          "exemption": "SAFE_CRITERION",
          "exemptionLabel": "안전기준준수"
        }
      ]
    },
    "infoSections": [
      {
        "infoSectionId": "isec_size_guide",
        "title": "사이즈 가이드",
        "body": "<p>어깨·가슴·총장(cm)</p>"
      }
    ]
  },
  "error": null
}