Patch Quote Line Item

Patch a line item on a draft quote. Absent fields preserve the row.

Nested objects + recurring_interval are tri-state: omit = no
change, null = clear, populated = apply. {} → 422. Entity ref
id required non-empty when present. category cannot be
cleared. recurring_interval: "" → 422.

Response matches GET /v1/quotes/{quote_id}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Quote ID.

string
required

Section ID that owns the line item.

string
required

Line item public identifier.

Body Params

PATCH payload for a single line item. Every top-level field is
optional; only the ones present in the request touch the stored
row. manufacturer, supplier, discount, and
recurring_interval accept JSON null to clear the field.
category cannot be cleared; sending null on category returns
422. {} on any nested object returns 422.

category
object

Reference to a related entity (category, manufacturer, or supplier) when patching a line item; resolution is by ID only.

string
length ≤ 50

SKU-style code. Max 50 characters.

string

Line item description. HTML.

discount
object | null

Discount payload for a line-item patch. Specify the input value and whether it is an absolute amount or a percentage.

manufacturer
object | null

Reference to a related entity (category, manufacturer, or supplier) when patching a line item; resolution is by ID only.

string
length ≤ 100

Line item display name. Max 100 characters.

string

Quantity. Decimal string. Must be strictly greater than zero;
fractional values are supported.

string | null
enum

Recurring interval for the line. Send null to drop the line
back to one-time; send a non-empty enum value to set. Empty
string ("") returns 422. When non-null it must match the
parent quote's own recurring_interval.

Allowed:
string
length ≤ 50

Supplier SKU. Max 50 characters.

supplier
object | null

Reference to a related entity (category, manufacturer, or supplier) when patching a line item; resolution is by ID only.

boolean

Whether the line item participates in tax calculation.

string

Per-unit cost. Decimal string. Non-negative.

string

Per-unit price. Decimal string. Non-negative.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json