diff --git a/src/Resources/Listing.php b/src/Resources/Listing.php index 59782cc..2d6668b 100644 --- a/src/Resources/Listing.php +++ b/src/Resources/Listing.php @@ -269,11 +269,12 @@ public function uploadVideo(array $data) { * @link https://developers.etsy.com/documentation/reference#operation/getListingInventory * @return Etsy\Resources\ListingInventory */ - public function getInventory() { + public function getInventory(array $params = []) { $inventory = $this->request( "GET", "/application/listings/{$this->listing_id}/inventory", - "ListingInventory" + "ListingInventory", + $params ); // Assign the listing ID to associated inventory products. array_map(