Skip to content

Commit

Permalink
Merge pull request #26 from ricklambrechts/master
Browse files Browse the repository at this point in the history
Added updatePurchaseorder function
  • Loading branch information
stephangroen authored Oct 25, 2020
2 parents e3ec14f + 47d063b commit 778c14b
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 @@ -511,6 +511,11 @@ public function addReceiptToPurchaseorder($idpurchaseorder, $params)
return $this->sendRequest('/purchaseorders/' . $idpurchaseorder . '/receipts', $params, self::METHOD_POST);
}

public function updatePurchaseorder($idpurchaseorder, $params)
{
return $this->sendRequest('/purchaseorders/' . $idpurchaseorder, $params, self::METHOD_PUT);
}

/*
* Returns
*/
Expand Down

0 comments on commit 778c14b

Please sign in to comment.