Skip to content

Commit

Permalink
Add orderBackorders
Browse files Browse the repository at this point in the history
New /api/v1/orders/{idorder}/backorders endpoint to get all backorders for a specific order.
  • Loading branch information
barryvdh authored Mar 15, 2019
1 parent c16e5d1 commit af65971
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 af65971

Please sign in to comment.