LUCELAATELIER🔔
홈오픈예정·예약루첼라 큐레이션아틀리에 메종디지털 콘텐츠스토어

상품 내용 저장

전체 주소PUT https://apis.lucela.kr/v1/direct/listings/{listing_id}/product-content경로PUT /v1/direct/listings/{listing_id}/product-content
openapi.json
{
  "/v1/direct/listings/{listing_id}/product-content": {
    "put": {
      "tags": [
        "다이렉트 API"
      ],
      "summary": "상품 내용 저장",
      "description": "상품 내용 통째 교체(같은 멱등 키는 처음 응답)",
      "operationId": "put_v1_direct_listings_listing_id_product_content",
      "security": [
        {
          "ApiKey": [],
          "DirectDelegation": []
        }
      ],
      "x-implementation-status": "AVAILABLE",
      "x-lucela-billing-unit": "과금 없음",
      "x-lucela-unit-weight": 0,
      "x-lucela-response-fields": "listingId · revision · content · assets[] · meta(etag · state · editable · workspaceId · listingKind · domainPackId · conditionCode · noticeProfileVersion · sellerDisclosureRevision · slotLabels · updatedAt)",
      "x-lucela-direct": true,
      "x-lucela-direct-command": "putDirectProductContent",
      "responses": {
        "200": {
          "description": "성공 — 다이렉트 몸통 그대로",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "listingId": {},
                  "revision": {},
                  "content": {},
                  "assets": {
                    "type": "array",
                    "items": {}
                  },
                  "meta": {
                    "type": "object",
                    "properties": {
                      "etag": {},
                      "state": {},
                      "editable": {},
                      "workspaceId": {},
                      "listingKind": {},
                      "domainPackId": {},
                      "conditionCode": {},
                      "noticeProfileVersion": {},
                      "sellerDisclosureRevision": {},
                      "slotLabels": {},
                      "updatedAt": {}
                    },
                    "required": [
                      "etag",
                      "state",
                      "editable",
                      "workspaceId",
                      "listingKind",
                      "domainPackId",
                      "conditionCode",
                      "noticeProfileVersion",
                      "sellerDisclosureRevision",
                      "slotLabels",
                      "updatedAt"
                    ]
                  }
                }
              }
            }
          }
        },
        "401": {
          "$ref": "#/components/responses/E401"
        },
        "403": {
          "$ref": "#/components/responses/E403"
        },
        "413": {
          "$ref": "#/components/responses/E413"
        },
        "429": {
          "$ref": "#/components/responses/E429"
        },
        "503": {
          "$ref": "#/components/responses/E503"
        }
      },
      "parameters": [
        {
          "name": "listing_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "Idempotency-Key",
          "in": "header",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "If-Match",
          "in": "header",
          "required": true,
          "schema": {
            "type": "string"
          },
          "description": "상품 내용 = 조회 응답 ETag · 그 밖 = 매물 version"
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "schemaVersion": {
                  "description": "1.0.0"
                },
                "gallery": {
                  "description": "사진 칸 3개 이하 · slot · assetId · alt"
                },
                "detailBlocks": {
                  "description": "상세 블록 40개 이하"
                },
                "facts": {
                  "type": "object"
                },
                "fulfillment": {
                  "type": "object"
                },
                "rights": {
                  "type": "object"
                },
                "attributes": {
                  "description": "분야 속성 — 열쇠 AD + 숫자 셋"
                },
                "sellerDisclosureRevision": {},
                "noticeProfileVersion": {}
              },
              "required": [
                "schemaVersion"
              ],
              "additionalProperties": false
            }
          }
        }
      }
    }
  }
}