Issue a binding price quote for a checkout
POST/price-quotes
IssuePriceQuote. The quote is binding, immutable and expiring (policy QuoteTtl, default 15 minutes): lines with unit and line totals, groups with tier and delivery charge, tax, total, and the versions of price, schedule and tax table used. PriceQuoteIssued is published to the analytics topic. Called by checkout at session open.
Request
Responses
- 201
- 400
- 409
- 422
The issued quote.
Response Headers
"true" when this response is the stored answer of an earlier request carrying the same Idempotency-Key (the handler did not run again). Absent on the first execution.
idempotency-key-required (header missing), idempotency-key-invalid (not 1-128 printable ASCII characters) or malformed-request (bad JSON, an unknown field, a wrong type, an empty body, trailing data, a body over 64 KiB or a NUL character in the body or query string).
concurrent-update or idempotency-key-reused (the key was already used with a different request).
validation-failed (at most 100 lines, 50 groups, quantity 1-1000, each item on one line, every line in exactly one group, a 3 character destination prefix), item-not-priced (ErrItemNotPriced: no active price, a WITHDRAWN or unknown item), empty-quote (ErrEmptyQuote), no-charge-schedule (ErrNoChargeSchedule) or no-tax-table (ErrNoTaxTable), negative-amount or currency-mismatch.