Skip to content

Commit 4a7d7c1

Browse files
committed
Merge pull request #3 from sebastiansommer/master
Added get method for retrieving shipments
2 parents f678946 + 6ef6c82 commit 4a7d7c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Client.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,12 @@ public function createShipment($idpicklist, $params)
249249
return $result;
250250
}
251251

252+
public function getShipments($idpicklist)
253+
{
254+
$result = $this->sendRequest('/picklists/' . $idpicklist . '/shipments');
255+
return $result;
256+
}
257+
252258
/*
253259
* Suppliers
254260
*/

0 commit comments

Comments
 (0)