From 923595946cf60b5419c82e797867f3cf0e44baff Mon Sep 17 00:00:00 2001 From: Stephan Groen Date: Tue, 23 Oct 2018 13:41:06 +0200 Subject: [PATCH] addPurchaseorder method --- src/Client.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Client.php b/src/Client.php index dfcb231..0b4967f 100644 --- a/src/Client.php +++ b/src/Client.php @@ -436,6 +436,11 @@ public function getSupplier($idsupplier) /* * Purchase orders */ + public function addPurchaseorder($params) + { + return $this->sendRequest('/purchaseorders', $params, self::METHOD_POST); + } + public function getPurchaseorders($filters = array()) { return $this->sendRequest('/purchaseorders', null, null, $filters);