Why $productId can be an object ?