After the order
user.order.confirm_partial
Record the buyer's decision when a shop can fill only part of an order.
The buyer chooses: keep the reduced order, swap the missing item for an offered substitute, or cancel.
| Type | Write: changes a cart or an order |
| Needs a cart the buyer approved | No |
| Moves money | No |
Tool description (what the assistant sees)
Records the buyer's decision when a shop could fill only part of an order: keep the reduced order, swap a missing item for one of the substitutes the shop offered, or cancel. Nothing is handed over or charged while the decision is pending.#Parameters
| Name | Type | Required | Description |
|---|---|---|---|
order_id | uuid | Yes | The order. |
decision | string | Yes | proceed, substitute or cancel. |
substitutions | object[] | No | With substitute: one entry per swap, missing_sku and substitute_sku. |
#Notes
- The buyer has 10 minutes. With no answer the order goes ahead without the missing item; it is cancelled only if nothing would be left to hand over.
- Nothing is charged for what the buyer did not get.