상품 수정(v1)

patch/V1/front/product/{productId}-v1

Request

  • Base URL
    https://stage.api.sauceflex.com
  • URL
    https://stage.api.sauceflex.com/V1/front/product/{productId}-v1
  • Auth
    none required

Path parameters

productIdstring required

상품 Id

Headers

X-SauceFlex-Authorizestring required

인증 API 를 통해 발급 받은 accessToken 값

Request body

externalProductIdstring

상품 고유 코드

productCategoryId1string

상품 카테고리 Id1 (대분류)

productCategoryId2string

상품 카테고리 Id2 (중분류)

productEventTypeCodestring

상품 이벤트 구분 코드 (basic, event)

productTypeCodestring

상품 종류 코드 (brand, soho)

brandNamestring

상품 브랜드 이름

productNamestring

상품 이름

explanationstring

상품 설명 최대 200자

priceTypeCodestring

상품 가격 구분 코드 (basic, text, hide)

pricestring

상품 원가

sellingPricestring

상품 판매가

discountTypeCodestring

상품 할인 구분 코드 (rate, none)

discountRatestring

discountTypeCode = rate이면 required, 상품 할인

redirectUrlstring

상품 이동 URL

isSoldoutinteger

상품 품절 처리

countryIdstring

국가 코드

currencyIdstring

환율 코드

languageTagstring

언어 태그

currencyNotationstring

환율 표시 기호

Response

200

codestring
timestampinteger
messagestring

Example response

{
  "code": "SU0000",
  "timestamp": 1616308095455,
  "message": "성공하였습니다.",
  "response": {
    "partnerId": "mobidoo",
    "productId": "mobidoo-d7e7fbdea45a44a887f95f8c2c174ec5",
    "partnerName": "mobidoo",
    "productCategoryId1": "CAT1",
    "productCategoryId2": "CAT1#ETC",
    "productEventTypeCode": "basic",
    "productTypeCode": "brand",
    "brandName": "브랜드명",
    "productName": "상품명",
    "productThumbnailUrlList": [
      {
        "thumbnailUrl": "https://~~~~/xxx.png",
        "isRepresentative": true
      }
    ],
    "explanation": "상품 설명",
    "priceTypeCode": "basic",
    "price": "1000",
    "sellingPrice": "0",
    "discountTypeCode": "none",
    "discountRate": "0.0",
    "redirectUrl": "https://picsum.photos/200/300?random=1",
    "regDt": "2021-03-21T06:28:14.761Z",
    "regName": "system"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.