Skip to content

Commit

Permalink
Merge pull request #3 from sebastiansommer/master
Browse files Browse the repository at this point in the history
Added get method for retrieving shipments
  • Loading branch information
stephangroen committed Nov 24, 2015
2 parents f678946 + 6ef6c82 commit 4a7d7c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ public function createShipment($idpicklist, $params)
return $result;
}

public function getShipments($idpicklist)
{
$result = $this->sendRequest('/picklists/' . $idpicklist . '/shipments');
return $result;
}

/*
* Suppliers
*/
Expand Down

0 comments on commit 4a7d7c1

Please sign in to comment.