Type alias UpdateProductPayload

UpdateProductPayload: {
    description?: string;
    hsn?: string;
    metadata?: string;
    name: string;
    price?: number;
    units?: string;
}

Type declaration

  • Optional description?: string

    description of the product

  • Optional hsn?: string

    HSN of the product

  • Optional metadata?: string

    Metadata of the product

  • name: string

    Name of the product is required

  • Optional price?: number

    Rate of the product

  • Optional units?: string

    Unit of the product