딜 수정

POST /v2/deal/<dealId>

딜을 수정합니다.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Path parameters

NameTypeDescription

dealId

string

수정 할 딜의 Id

Body parameters

NameTypeDescription

name

string

수정할 딜의 이름

peopleId

string

수정할 딜과 연결된 고객의 Id

organizationId

string

수정할 딜과 연결된 회사의 Id

status

string

수정할 딜의 상태

price

number

수정할 딜의 금액

memo

string

딜 수정 시 작성할 메모

pipelineId

string

수정할 딜이 소속 될 pipeline의 Id

pipelineStageId

string

수정할 딜이 소속 될 pipeline의 StageId (pipelineId의 파이프라인에 소속된 stage만 지정가능) Required (pipeline을 선택한 경우)

fieldList

array

수정할 딜의 데이터필드

Response

{
    "success": true,
    "data": {
        "deal":
            {
                "id": "<dealId>",
                "name": "수정한 딜의 이름",
                "updatedAt": "2024-04-08T05:25:26.020Z"
            }
}

Last updated