---
title: "Update the discount line item for a quote"
method: PUT
path: "/api/quote/{quoteId}/discount-line-item"
tags: ["Quote Discount Line Item"]
---

# Update the discount line item for a quote

`PUT /api/quote/{quoteId}/discount-line-item`

## Path parameters

- `quoteId` string, required

## Request body

- QuoteDiscountLineItemUpdateDto — Represents a discount line item on a quote.
  - `name` string, required — The name of the discount line.
  - `description` string, nullable — The description of the discount line.
  - `isPercentage` boolean, required — Indicates whether "Amount" value is percentage based or an absolute amount.
  - `amount` number, double, required — The amount of the discount.

## Response `200`

Discount line item

- QuoteDiscountLineItemDto — Represents a discount line item on a quote.
  - `id` string, required — Unique id associated to this entity.
  - `name` string, required — The name of the discount line.
  - `description` string, nullable — The name of the discount line.
  - `isPercentage` boolean, required — Indicates whether FulcrumProduct.PublicApi.Dto.Quote.DiscountLineItem.DiscountLineItemDto.Amount discount is percentage based (else, it's an absolute amount).
  - `amount` number, double, required — The amount of the discount.
  - `number` integer — Line number
  - `accountingDetails` CommonAccountingDetailsDto, required — An object that contains all accounting details.
    - `classId` string, nullable — Item class identifier. Please reference /api/item-classes endpoint.
    - `incomeAccountId` string, nullable — Income account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `assetAccountId` string, nullable — Asset account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `expenseAccountId` string, nullable — Expense account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `cogsAccountId` string, nullable — COGS account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.

## Other responses

- `404` — Quote does not exist

---

[API](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi.md) · [All operations](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fulcrumpro/fulcrum-publicapi/versions/1b5649cff14a/schema)
