Admin API / Types
CounterNegotiationInput
InputThe counter-offer to make.
input CounterNegotiationInputInput fields
| Field | Type | Description |
|---|---|---|
idempotencyKey | String! | 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. |
negotiationId | ID! | The negotiation to counter. |
offerId | ID | The 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. |
price | MoneyInput! | 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. |