Type alias UpdateProductPayload

UpdateProductPayload: {
    description?: string;
    hsn?: string;
    name: string;
    price?: number;
    sac?: string;
    type?: UpdateProductPayload.type;
    units?: string;
}

Type declaration

  • Optional description?: string

    description of the product

  • Optional hsn?: string

    HSN of the product

  • name: string

    Name of the product is required

  • Optional price?: number

    Rate of the product

  • Optional sac?: string

    SAC code for services

  • Optional type?: UpdateProductPayload.type

    Type of the product (goods/services)

  • Optional units?: string

    Unit of the product