Skip to content

Commit

Permalink
Merge pull request #30 from picqer/fix-backorders-for-order
Browse files Browse the repository at this point in the history
Fix: Correct URL to get backorders for an order
  • Loading branch information
stephangroen authored Feb 16, 2021
2 parents fff6198 + 9cf13c6 commit 93f1d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ public function deleteBackorder($idbackorder)

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

/*
Expand Down

0 comments on commit 93f1d11

Please sign in to comment.