Admin API / Types
AcceptOfferInput
InputDetails for accepting an offer.
input AcceptOfferInputInput fields
| Field | Type | Description |
|---|---|---|
expectedPrice | MoneyInput | The currentPrice that the caller read: the price per unit, not the total for quantity. When the negotiation's currentPrice has another amount or currency at the acceptance, also after the buyer changed the price of the last offer, the call returns OfferMismatchError with mismatchReason PRICE_MISMATCH and charges nothing. Omitted or null: no check. |
idempotencyKey | String! | A client-generated key for this acceptance attempt. Reusing the key resumes the same attempt without creating a duplicate order. Use a new key to start a new attempt. |
negotiationId | ID! | The negotiation containing the offer. |
offerId | ID | The offer the caller intends to accept. When provided, the request fails if a newer offer exists. |