Magento 2.2.2 error when setting order status with API

I am trying to set the order status of orders to “Complete” using the API. I am running Magento Enterprise 2.2.2. Am I missing something in the data?

This is the url I am calling

https://localhost/rest/V1/orders

This is the data I am sending

{“entity”: {“entity_id”: 10000001, “status”: “Complete”}}

This is the error I am getting

“Fatal Error: ‘Uncaught Error: Call to a member function getMethodInstance() on null in /vendor/magento/module-payment/Observer/SalesOrderBeforeSaveObserver.php:24

Stack trace:

0 /vendor/magento/framework/Event/Invoker/InvokerDefault.php(72): Magento\Payment\Observer\SalesOrderBeforeSaveObserver->execute(Object(Magento\Framework\Event\Observer))

1 /vendor/magento/framework/Event/Invoker/InvokerDefault.php(60): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Magento\Payment\Observer\SalesOrderBeforeSaveObserver),

Object(Magento\Framework\Event\Observer))

2 /vendor/magento/module-staging/Model/Event/Manager.php(97): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array,

Object(Magento\Framework\Event\Observer))

3 /generated/code/Magento/Stag’ in ‘/vendor/magento/module-payment/Observer/SalesOrderBeforeSaveObserver.php’

on line 24″