Decline what the business proposed
decline_offerSay no to another time or to changes the business proposed (the booking request or the order is closed) or to its quote. To a change it asks for to a confirmed booking or an accepted order, no keeps what was agreed; on a change your person asked for (requested_change), it takes that back. Add reason (and reason_code) for anything your person wants the business to know.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The person's key (sdkey1_…), if that is all you have: it is exchanged once for a pass, which comes back in identity.passes — keep the pass and send it next time instead. Never stored. | |
| pass | No | The person's passes (sdpass1_…), space-separated, at most 8: presented to the network that issued each, so the business recognises the customer. Or send them in the Sdi-Pass header. Never stored. | |
| reason | No | Anything your person wants the business to know. | |
| item_id | Yes | ||
| offer_id | No | The offer you answer: offer.id from get_item_status. If the business has replaced it since, nothing is done (409 offer_changed, with the current one). | |
| reason_code | No | Why: price_sensitivity, timing_deferred, quantity, delivery, returns_policy or other. | |
| access_token | No | Capability secret returned when the item was created without an account. | |
| idempotency_key | No | Same key + same request = same answer. Required for agents. |