Type alias Product

Product: {
    company: Company;
    companyId: string;
    createdAt: string;
    deletedAt: string;
    description: string;
    hsn: string;
    id: string;
    metadata: string;
    name: string;
    price: number;
    units: string;
}

Type declaration

  • company: Company

    Details of the company this product belongs to

  • companyId: string

    ID of the company this product belongs to

  • createdAt: string

    Timestamp at which this product was created

  • deletedAt: string

    Timestamp at which this product was deleted

  • description: string

    Short description of the product

  • hsn: string

    Harmonised System of Nomenclature (HSN) code

  • id: string

    ID of the product

  • metadata: string

    Arbitrary metadata attached to this product

  • name: string

    Name of the product

  • price: number

    Price of the product

  • units: string

    Units in which this product is sold