Skip to main content

cancelSupplierOrder

Cancels a supplier order via the cancel state-machine transition.

Required scopes​

The token needs the supplier_orders:write access scope.

cancelSupplierOrder(
id: ID!
): SupplierOrder!

Arguments​

cancelSupplierOrder.id ● ID! non-null scalar​

ID of the supplier order to cancel.

Type​

SupplierOrder object​

A purchase order raised against a supplier. Carries header data (supplier, currency, warehouse, dates), per-line procurement details, and the totals and tax status used by accounting. Goods are booked in against the supplier order via GoodsReceipt.