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

Category reference. ID-only resolution. Cannot be cleared —
sending null or {} returns 422.

string
length ≤ 50

SKU-style code. Max 50 characters.

string

Line item description. HTML.

discount
object | null

Line-level discount. Send null to clear the stored discount;
send an object with input_type and input_decimal to apply.
{} returns 422.

manufacturer
object | null

Manufacturer reference. Send null to clear the reference;
send {id: "..."} to set. {} or {id: ""} returns 422.

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

Supplier reference. Send null to clear the reference; send
{id: "..."} to set. {} or {id: ""} returns 422.

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