Negotiation
Negotiation is a capability a seller can switch on, available where the seller's capability profile advertises it (Seller Level 3). Offers and counters live as rounds on the negotiation object while the order parks in negotiating.
POST /v1/orders/{id}/respond
{ "action": "counter",
"counter": { "line_items": [ { "unit_id": "u-0001", "period": { "grain": "week", "start": "2026-W41" },
"units": 8, "rate": { "unit_cost": 392.00 } } ],
"expires_at": "2026-09-30T20:00:00Z" } }
- Buyer actions on
respond:accept,counter,withdraw. Rounds carry actors and expiries; expired offers resolve to the prior state. - Accepting books the round the seller offered, whole, at the quote each countered line cites: the order lands
placed, its answered asks resolverejected, and its totals are recomputed from what booked. Accepting past a quote'squote_expires_atis refused with409 STALE_RATE_CARD. Withdrawing ends the negotiation and cancels the order with the standard cancellation block. The sandbox serves both today; a buyer counter is published and not yet served there, and returns422 INVALID_INPUTnaming the two actions it does serve. - Sellers counter at the review gate (
decidewith per-unit counters), typically on the few units that would otherwise reject. - Counters arrive as additional result lines with
status: "countered"and anin_response_tonaming the unit they answer; the original line keeps its own result, so every unit you requested is accounted for. A counter's price arrives as a quote commit the counter mints, so the offer is locked and expiring the moment it is made. - A seller that only approves and rejects today can add counters later, so treat extra countered lines as additive.
- Every round is an event on the same append-only log.
Approval policy applies: your organization decides which principals (human or agent) may accept, and at what thresholds.
The same counter is the common case in a proposal: when the seller cannot meet the whole brief, the returned plan lists the shortfall as unmet[] ("you asked for 1, 2, 3; we have 1 and 2"), and a seller pricing per campaign returns the price itself as a quote inside that plan.
Make an offer
A buyer can name its own price. Put an offer on a catalog line, priced in the line's basis, above or below the listed rate, with an expires_at. You can make an offer on any buy type listed in the product's offer_buy_types on your catalog read. The seller chooses which products and buy types take offers, and can open or close them for one buyer.
POST /v1/orders
{ "seller": "acme", "external_order_id": "q4-campaign-043", "rate_version": "acme-2026q4-v1",
"line_items": [ { "product_id": "acme-prime", "period": { "grain": "week", "start": "2026-W41" },
"units": 10, "spot_length": 30,
"rate": { "market_class": "scatter", "advertiser_class": "general", "buy_type": "preemptible",
"unit_cost": 405.00, "locked_rate_id": "lr_88c1", "currency": "USD" },
"offer": { "unit_cost": 360.00, "expires_at": "2026-10-02T17:00:00Z" } } ] }
The order goes to seller_review like any catalog order, and its total counts the line at the offered price. The seller answers with the usual decide call:
POST /v1/me/orders/{id}/decide
{ "decision": "approve", "actor": "planner@seller.com",
"units": [ { "unit_id": "u-0001", "action": "accept", "num_accepted": 10 } ] }
- Accepting books the line at the offered price, through a quote minted for it. The seller's rate card doesn't change.
- Rejecting and countering work as on any line. A counter goes back to the buyer, who answers through
respond. expires_atmust be at least an hour out, at most 14 days out, and no later than the start of the line's period. After it passes, the line readsoffer.state: "expired", and an accept is refused with409 OFFER_EXPIRED. The seller can still reject or counter.- An offer on a buy type that doesn't take offers from you is refused with
422 OFFERS_NOT_ACCEPTED, anddetails.reasonsays why.
With no listed rate. Some inventory has no rate you can order at: a length or week the seller's card doesn't price, or a product whose price is withheld from you. Where the seller opts in, you can still name a price. The product's offer_unpriced_buy_types on your catalog read lists the buy types that take one. Send the line with no locked_rate_id and no price on its rate: name the terms, and put the price on the offer, per spot or as a CPM on one of the product's audiences.
POST /v1/orders
{ "seller": "meridian", "external_order_id": "q4-campaign-044", "rate_version": "meridian-2026q4-v1",
"line_items": [
{ "product_id": "meridian-sunday-national", "period": { "grain": "week", "start": "2026-W47" },
"units": 6, "spot_length": 30,
"rate": { "buy_type": "fixed_position", "advertiser_class": "general",
"market_class": "scatter", "currency": "USD" },
"offer": { "unit_cost": 1800.00, "expires_at": "2026-11-12T17:00:00Z" } },
{ "product_id": "meridian-sunday-national", "period": { "grain": "week", "start": "2026-W50" },
"units": 6, "spot_length": 30,
"rate": { "buy_type": "fixed_position", "advertiser_class": "general",
"market_class": "scatter", "currency": "USD" },
"offer": { "cpm": 24.50, "audience_code": "a25_54", "expires_at": "2026-11-12T17:00:00Z" } } ] }
- A CPM offer is priced on the seller's own per-spot estimate for that audience and week. The line reads back
offer.estimated_impressions_per_spotandoffer.estimated_impressions, and countscpmtimesestimated_impressionsover 1,000. With no published estimate, the create is refused withdetails.reason: "no_estimate"; offer per spot instead. - The seller decides each line with the same
decidecall. Accepting books the line at your price through a quote minted for it; a booked CPM line counts the units accepted. - Where the seller does publish a rate you can see, the line is refused with
details.reason: "cell_is_priced"and thelocked_rate_idto lock. Lock it and make your offer against it. - An offer can't be edited once sent. Revise the order to name a new price and a new good-until.