Type alias CreateProductPayload

CreateProductPayload: {
    description?: string;
    hsn?: string;
    name: string;
    price: number;
    sac?: string;
    type: CreateProductPayload.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

  • price: number

    Price of the product

  • Optional sac?: string

    SAC code for services

  • type: CreateProductPayload.type

    Type of the product (goods/services)

  • Optional units?: string

    Unit of the product