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

매물 초안 생성

전체 주소POST https://apis.lucela.kr/v1/direct/listings경로POST /v1/direct/listings
openapi.json
{
  "/v1/direct/listings": {
    "post": {
      "tags": [
        "다이렉트 API"
      ],
      "summary": "매물 초안 생성",
      "description": "갈래만 있으면 초안 한 건(칸이 덜 차도 저장)",
      "operationId": "post_v1_direct_listings",
      "security": [
        {
          "ApiKey": [],
          "DirectDelegation": []
        }
      ],
      "x-implementation-status": "AVAILABLE",
      "x-lucela-billing-unit": "과금 없음",
      "x-lucela-unit-weight": 0,
      "x-lucela-response-fields": "id · kind · state · revision · title · description · condition · tradeMode · price · priceNegotiable · region · photos[] · product · badgeStatus · verifications[] · pending · workspaceId · version · contactDisclosure · noticeAcknowledged — 그 밖 칸",
      "x-lucela-direct": true,
      "x-lucela-direct-command": "createListingDraft",
      "responses": {
        "201": {
          "description": "성공 — 다이렉트 몸통 그대로",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {},
                  "kind": {},
                  "state": {},
                  "revision": {},
                  "title": {},
                  "description": {},
                  "condition": {},
                  "tradeMode": {},
                  "price": {},
                  "priceNegotiable": {},
                  "region": {},
                  "photos": {
                    "type": "array",
                    "items": {}
                  },
                  "product": {},
                  "badgeStatus": {},
                  "verifications": {
                    "type": "array",
                    "items": {}
                  },
                  "pending": {},
                  "workspaceId": {},
                  "version": {},
                  "contactDisclosure": {},
                  "noticeAcknowledged": {}
                },
                "additionalProperties": true
              }
            }
          }
        },
        "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"
        }
      },
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "listingKind": {
                  "description": "PHYSICAL · SOFTWARE · DATA · CREATIVE · SERVICE"
                },
                "workspaceId": {
                  "description": "작업공간 번호 — 연결 토큰의 작업공간"
                },
                "domainPackId": {},
                "categoryCode": {},
                "familyCode": {},
                "transferForm": {},
                "tradeStructure": {},
                "radiationGenerator": {},
                "marketItemId": {},
                "title": {},
                "description": {},
                "conditionCode": {},
                "tradeMode": {},
                "price": {
                  "description": "원"
                },
                "priceNegotiable": {},
                "exchangeWants": {},
                "handover": {},
                "region": {},
                "visibility": {},
                "validDays": {},
                "components": {},
                "defects": {},
                "defectsNone": {},
                "acquiredOn": {},
                "brand": {},
                "model": {},
                "serialNumber": {},
                "details": {},
                "contactDisclosure": {
                  "description": "disclosure · channels"
                }
              },
              "required": [
                "listingKind"
              ],
              "additionalProperties": false
            }
          }
        }
      }
    }
  }
}