diff --git a/src/Service/InventoryItemService.php b/src/Service/InventoryItemService.php index b24623b..7d0c93d 100644 --- a/src/Service/InventoryItemService.php +++ b/src/Service/InventoryItemService.php @@ -19,7 +19,7 @@ class InventoryItemService extends AbstractService public function all(array $params = []){ $endpoint = 'inventory_items.json'; $response = $this->request($endpoint, 'GET', $params); - return $this->createCollection(InventoryItem::class, $response['inventory_item']); + return $this->createCollection(InventoryItem::class, $response['inventory_items']); } /**