cURL
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>" } }
HMAC-SHA256 방식으로 body를 secret key로 해싱하여 생성한 서명을 넣어야 합니다. 서버는 X-API-Key와 대응되는 secret key로 서명을 검증합니다.
제목
1 - 256
단위당 비용
^-?\d{0,28}(?:\.\d{0,2})?$
단위
1 - 8
설명
1 - 2048
분류
Show child attributes
256
8
2048