After the order

user.order.confirm_partial

Record the buyer's decision when a shop can fill only part of an order.

View as Markdown

The buyer chooses: keep the reduced order, swap the missing item for an offered substitute, or cancel.

TypeWrite: changes a cart or an order
Needs a cart the buyer approvedNo
Moves moneyNo
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

NameTypeRequiredDescription
order_iduuidYesThe order.
decisionstringYesproceed, substitute or cancel.
substitutionsobject[]NoWith 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.