Update quotation line

Updates an existing quotation line by its ID.

Note: The totalHt and totalTtc fields are automatically recalculated when you update pricing-related fields.

Path Parameters

ParameterTypeRequiredDescription
idintegerYesQuotation line unique identifier

Body Fields

FieldTypeRequiredDescription
lineTypestringNoLine type: normal, title, or subtotal
titlestringNoSection title (for title lines)
productTitlestringNoCustom product title
descriptionstringNoLine description (HTML supported)
quantityfloatNoQuantity
unitPricefloatNoUnit price excl. tax
coeffloatNoCoefficient/multiplier
weightintegerNoSort order/position
discountfloatNoDiscount value
discountTypestringNopercentage or amount
optionbooleanNoMark as optional line
hidebooleanNoHide from output
taxobjectNoTax rate: {"id": <tax_id>}
productobjectNoLink to product: {"id": <product_id>}
productPriceobjectNoLink to product price: {"id": <product_price_id>}
unityobjectNoUnit of measure: {"id": <unity_id>}
parentobjectNoParent line: {"id": <line_id>} or null
mediasarrayNoMedia files: [{"id": <media_id>}, ...]
customFieldsobjectNoCustom field values
subTotalConfigobjectNoSubtotal configuration (for subtotal lines)

Response Fields

FieldTypeDescription
idintegerLine unique identifier
lineTypestringLine type
titlestringSection title
productTitlestringCustom product title
descriptionstringLine description (HTML)
quantityfloatQuantity
unitPricefloatUnit price (excl. tax)
coeffloatCoefficient/multiplier
discountfloatDiscount value
discountTypestringDiscount type
totalHtfloatTotal excl. tax (recalculated)
totalTtcfloatTotal incl. tax (recalculated)
weightintegerSort order/position
optionbooleanWhether line is optional
hidebooleanWhether line is hidden
taxobjectApplied tax rate
createdAtdatetimeCreation timestamp
updatedAtdatetimeLast update timestamp

Response

  • 200 OK: Quotation line successfully updated
  • 400 Bad Request: Invalid request body or validation error
  • 401 Unauthorized: Invalid or missing API key
  • 404 Not Found: Quotation line not found
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
string
string
integer
number
integer
integer
integer
string
tax
object
Responses
200

Resource updated

400

Bad request

401

Unauthorized

404

Resource not found

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!