Skip to content

Commit

Permalink
Merge pull request #17 from barryvdh/patch-1
Browse files Browse the repository at this point in the history
Add orderBackorders
  • Loading branch information
casperbakker authored Mar 18, 2019
2 parents c16e5d1 + af65971 commit d4978c0
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 @@ -298,6 +298,11 @@ public function getOrderProductStatus($idorder)
return $this->sendRequest('/orders/' . $idorder . '/productstatus');
}

public function getOrderBackorders($idorder)
{
return $this->sendRequest('/orders/' . $idorder . '/backorders');
}

/** @deprecated Use `processOrder`, still here for backwards compatibility */
public function closeOrder($idorder)
{
Expand Down

0 comments on commit d4978c0

Please sign in to comment.