Cancels a specified PurchaseOrder.
The ID of the PurchaseOrder to cancel.
FM_api('PurchaseOrder_cancel', ['id' => '1']);
{'ok':1}
If the User is not logged in:
{'error':'not logged in'}
If the PurchaseOrder ID is not supplied:
{'error':'no purchase order ID'}
Last updated 4 years ago