Skip to content

Commit

Permalink
Added backorder methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stephangroen committed Nov 26, 2015
1 parent 4a7d7c1 commit bed0679
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,18 @@ public function deleteHook($id)
/*
* Backorders
*/
public function getBackorders($filters = array())
{
$result = $this->sendRequest('/backorders', null, null, $filters);
return $result;
}

public function getBackorder($idbackorder)
{
$result = $this->sendRequest('/backorders/' . $idbackorder);
return $result;
}

public function processBackorders()
{
$result = $this->sendRequest('/backorders/process', null, 'POST');
Expand Down

0 comments on commit bed0679

Please sign in to comment.