# Cancel an order Cancel an order, and, if applicable, payment. Changes the order status to cancelled. Endpoint: POST /Order/CancelOrder Version: 4.0 ## Request fields (application/json): - `ClientOrderRef` (integer, required) Basket/Quotation id. Used for order matching. - `ErpOrderNo` (string, required) ERP order number. Used for order matching. - `Payments` (array) If supplied, a cancel call is made for all included payments. Required property for each Payment is PaymentRef. - `Payments.PaymentCode` (integer, required) Payment code. Used for payment matching. - `Payments.PaymentMethodCode` (string, required) Payment method that should be sent in to the ERP, the code is configurable in Norce Commerce. - `Payments.PaymentRef` (string, required) Transaction identifier from 3rd party, like payment service provider. - `Payments.AdditionalInfo` (array) 3rd party specific information abount payment (client and PSP decides what this can contain). - `Payments.AdditionalInfo.Code` (string) Configurable identifier in Norce Commerce. This has erroneous behaviour. - `Payments.AdditionalInfo.Code2` (string) Configurable identifier in Norce Commerce. - `Payments.AdditionalInfo.Id` (integer) Norce Commerce internal id for the info type (use code instead) - `Payments.AdditionalInfo.Value` (string) The value set to the item from an integrated system to Norce Commerce. - `Payments.Amount` (number) Amount paid or reserved including VAT after rounding rules. - `Payments.CurrencyCode` (string) Currency code in ISO 4217 format, e.g. "SEK", "EUR", "USD". Max length: 3 - `Payments.PaymentName` (string) Name of the payment selected at the provider, e.g. "Card", "BankAccount", "Swish". Names are PSP dependent.