Skip to content

Commit

Permalink
addPurchaseorder method
Browse files Browse the repository at this point in the history
  • Loading branch information
stephangroen committed Oct 23, 2018
1 parent 79738b4 commit 9235959
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9235959

Please sign in to comment.