  In this article, we present the concept of $n$-Lie algebras in the
Loday-Pirashvili category. We examine the representation and cohomology theory
of $n$-Lie algebras in this category, and also explore their applications in
infinitesimal deformation and abelian extension theory.
