초안 수정
전체 주소
PATCH https:/ / apis.lucela.kr/ v1/ atelier/ maker/ products/ {draft_id}경로PATCH / v1/ atelier/ maker/ products/ {draft_id}{
"/v1/atelier/maker/products/{draft_id}": {
"patch": {
"tags": [
"아틀리에 상품등록"
],
"summary": "초안 수정",
"description": "기본 정보 · 상세 블록 · 옵션(If-Match 필수 · 판매 중이면 새 판 초안)",
"operationId": "patch_v1_atelier_maker_products_draft_id",
"x-lucela-mcp-tool": "atelier_product.update_draft",
"security": [
{
"AtelierProductToken": [
"atelier.products:write"
]
},
{
"ApiKey": []
}
],
"x-implementation-status": "AVAILABLE",
"x-lucela-billing-unit": "과금 없음",
"x-lucela-unit-weight": 0,
"x-lucela-response-fields": "data(draftId · revision · status · listingKind · title · detail · variants · delivery · media — 그 밖 칸) · meta(request_id · schema_version · warnings)",
"x-lucela-prodreg": true,
"x-lucela-scope": "atelier.products:write",
"responses": {
"200": {
"description": "성공 — 봉투 한 모양",
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/Envelope"
},
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"draftId": {},
"revision": {},
"status": {},
"listingKind": {},
"title": {},
"detail": {},
"variants": {},
"delivery": {},
"media": {}
}
},
"meta": {
"type": "object",
"properties": {
"request_id": {},
"schema_version": {},
"warnings": {}
},
"required": [
"request_id",
"schema_version",
"warnings"
]
}
}
}
]
}
}
}
},
"400": {
"$ref": "#/components/responses/E400"
},
"401": {
"$ref": "#/components/responses/E401"
},
"403": {
"$ref": "#/components/responses/E403"
},
"404": {
"$ref": "#/components/responses/E404"
},
"409": {
"$ref": "#/components/responses/E409"
},
"413": {
"$ref": "#/components/responses/E413"
},
"422": {
"$ref": "#/components/responses/E422"
},
"428": {
"$ref": "#/components/responses/E428"
},
"429": {
"$ref": "#/components/responses/E429"
},
"503": {
"$ref": "#/components/responses/E503"
}
},
"parameters": [
{
"name": "draft_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "If-Match",
"in": "header",
"required": true,
"schema": {
"type": "string",
"pattern": "^\"?revision:[0-9]{1,9}\"?$"
},
"description": "초안 revision — 조회 응답 ETag(\"revision:<n>\")"
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": {},
"summary": {},
"categoryCode": {},
"basePriceKrw": {},
"detail": {
"description": "schemaVersion · blocks[]",
"type": "object"
},
"variants": {},
"licenseCode": {},
"digitalDelivery": {},
"reservationPolicy": {},
"rightsDeclaration": {},
"sourceAttributions": {},
"seoTitle": {},
"seoDescription": {}
},
"additionalProperties": false
}
}
}
}
}
}
}