견적서 생성

POST /v2/quote

특정 딜의 견적서를 생생합니다.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body parameters

Name
Type
Description

name

string

생성할 견적서의 이름

Required

dealId

string

생성할 견적서의 딜 Id

Required

memo

string

견적서 생성 시 작성할 메모

fieldList

array

견적서의 데이터 필드

isMainQuote

boolean

메인 견적으로 설정할 지 여부

quoteProductList

array

견적서의 상품 목록

quoteProductList[].name

string

견적서 상품의 이름 Required

quoteProductList[].productId

string

견적서 상품의 id Required (quoteProduct가 있다면)

quoteProductList[].price

number

견적서 상품의 가격 Required (quoteProduct가 있다면)

quoteProductList[].amount

number

견적서 상품의 수량 Required (quoteProduct가 있다면)

quoteProductList[].paymentCount

number

견적서 상품의 결제 횟수 Required (단, 견적서 구성상품의 유형이 구독 상품인 경우에 한함)

quoteProductList[].paymentStartAt

date

견적서 상품의 시작 결제일 Required (단, 견적서 구성상품의 유형이 구독 상품인 경우에 한함)

quoteProductList[].fieldList

array

견적서 상품의 데이터 필드

Response

{
    "success": true,
    "data": {
        "quote": [
            {
                "id": "<quoteId>",
                "name": "견적서 이름",
                "createdAt": "2024-04-16T07:18:17.516Z"
            },
        ]
    }
}

Last updated

Was this helpful?