Admin API / Types

CounterNegotiationInput

Input

The counter-offer to make.

input CounterNegotiationInput

Input fields

FieldTypeDescription
idempotencyKeyString!A client-generated key, 1 to 200 characters after trim. A repeat with the same key and input within 24 hours returns the first result, writes nothing and sends no second notification. The same key with another input returns IdempotencyConflictError.
negotiationIdID!The negotiation to counter.
offerIdIDThe last offer that the caller read. When it is not the negotiation's lastOffer, the call returns OfferMismatchError with mismatchReason NEWER_OFFER and writes nothing. Omitted or null: no check.
priceMoneyInput!The price per unit, in the negotiation currency, greater than 0 with at most 2 decimal places. Another value fails with VALIDATION_ERROR. Another currency gives CurrencyMismatchError.