Skip to main content
PATCH
/
v1
/
estimate
/
item
/
{item_id}
견적서 항목 부분 수정
curl --request PATCH \
  --url https://openapi.pluuug.com/v1/estimate/item/{item_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --header 'X-Signature: <api-key>' \
  --data '
{
  "title": "<string>",
  "unitCost": "<string>",
  "unit": "<string>",
  "description": "<string>",
  "classification": {
    "id": 123
  }
}
'
{
  "id": 123,
  "title": "<string>",
  "unitCost": "<string>",
  "unit": "<string>",
  "image": "<string>",
  "description": "<string>",
  "classification": {
    "id": 123,
    "title": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required
X-Signature
string
header
required

HMAC-SHA256 방식으로 body를 secret key로 해싱하여 생성한 서명을 넣어야 합니다. 서버는 X-API-Key와 대응되는 secret key로 서명을 검증합니다.

Path Parameters

item_id
integer
required

Body

title
string

제목

Required string length: 1 - 256
unitCost
string<decimal>

단위당 비용

Pattern: ^-?\d{0,28}(?:\.\d{0,2})?$
unit
string

단위

Required string length: 1 - 8
description
string | null

설명

Required string length: 1 - 2048
classification
object

분류

Response

id
integer
required
title
string
required

제목

Maximum string length: 256
unitCost
string<decimal>
required

단위당 비용

Pattern: ^-?\d{0,28}(?:\.\d{0,2})?$
unit
string
required

단위

Maximum string length: 8
image
string
required
description
string | null

설명

Maximum string length: 2048
classification
object

분류