Amends a concept quote by replacing its line items and discounts in one
call. The items array replaces all existing items and discountIds replaces
all existing discounts, so send the full desired set, not a delta. Each product
may appear only once. Only concept quotes can be amended; confirmed quotes are
rejected.
expectedVersion is the version the caller last observed. A mismatch is
rejected (optimistic concurrency), so re-fetch with GetQuote and retry with
the current version. This operation is guarded by the version, not by an
idempotency key.
Generated Reference
POST/public-api/publicapi.v1.Quote/UpdateQuote
Replaces the line items and discounts of a concept quote in one call. Guarded by expected_version optimistic concurrency; not request-idempotent.
RequestUpdateQuoteRequest
ResponseUpdateQuoteResponse
UpdateQuoteRequest
Field
Type
Description
id
string
Stable identifier of the concept quote to update.
expected_version
int32
Version the caller last observed, for optimistic concurrency.
items
repeated QuoteItemInput
Replacement line items. Replaces all existing items.
discount_ids
repeated string
Replacement discount IDs. Replaces all existing discounts.