ApiKey: ********************
[
{
"item_name": "Set Goods Item", // create Goods type item
"group_id": "4295",
"item_type": 1,
"primary_unit_of_measurement": "29",
"secondary_unit_of_measurement": "28",
"conversion_rate": 2,
"decimal_places": "2",
"sku": null,
"description": "test",
"is_description_same_as_item_name": 1,
"is_gst_applicable": 1,
"gst_tax_id": "10",
"hsn_sac_code": "51847",
"is_rcm_applicable": "0",
"gst_cess_rate": 136,
"mrp": "100",
"sale_price": 100,
"sale_price_type": 2, // 1 = with GST, 2 = without GST
"discount_type": 1,
"discount": 0,
"income_ledger_id": null,
"purchase_price": null,
"purchase_price_type": 2, // 1 = with GST, 2 = without GST
"purchase_discount_type": 1,
"purchase_discount_value": 0,
"expense_ledger_id": null,
"decimal_places_for_rate": 3,
"quantity_unit": "6",
"quantity": null,
"rate": null,
"opening_balance_type": 2,
"item_image": null
},
{
"item_name": "Set Service item", // create Service type item
"group_id": "4295",
"item_type": "2",
"primary_unit_of_measurement": "29",
"secondary_unit_of_measurement": null,
"conversion_rate": null,
"decimal_places": "2",
"description": null,
"is_description_same_as_item_name": 1,
"is_gst_applicable": "1",
"gst_tax_id": "10",
"hsn_sac_code": "1001",
"is_rcm_applicable": "0",
"gst_cess_rate": 136,
"sale_price": 100,
"sale_price_type": 2, // 1 = with GST, 2 = without GST
"discount_type": 1,
"discount": 0,
"income_ledger_id": null,
"purchase_price": null,
"purchase_price_type": 2, // 1 = with GST, 2 = without GST
"purchase_discount_type": 1,
"purchase_discount_value": 0,
"expense_ledger_id": null,
"decimal_places_for_rate": 3,
"quantity_unit": "6",
"quantity": null,
"rate": null,
"opening_balance_type": 2
}
]
curl --location --request POST 'https://app.hisabkitab.co/third-party/batch/items' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '[
{
"item_name": "Set Goods Item", // create Goods type item
"group_id": "4295",
"item_type": 1,
"primary_unit_of_measurement": "29",
"secondary_unit_of_measurement": "28",
"conversion_rate": 2,
"decimal_places": "2",
"sku": null,
"description": "test",
"is_description_same_as_item_name": 1,
"is_gst_applicable": 1,
"gst_tax_id": "10",
"hsn_sac_code": "51847",
"is_rcm_applicable": "0",
"gst_cess_rate": 136,
"mrp": "100",
"sale_price": 100,
"sale_price_type": 2, // 1 = with GST, 2 = without GST
"discount_type": 1,
"discount": 0,
"income_ledger_id": null,
"purchase_price": null,
"purchase_price_type": 2, // 1 = with GST, 2 = without GST
"purchase_discount_type": 1,
"purchase_discount_value": 0,
"expense_ledger_id": null,
"decimal_places_for_rate": 3,
"quantity_unit": "6",
"quantity": null,
"rate": null,
"opening_balance_type": 2,
"item_image": null
},
{
"item_name": "Set Service item", // create Service type item
"group_id": "4295",
"item_type": "2",
"primary_unit_of_measurement": "29",
"secondary_unit_of_measurement": null,
"conversion_rate": null,
"decimal_places": "2",
"description": null,
"is_description_same_as_item_name": 1,
"is_gst_applicable": "1",
"gst_tax_id": "10",
"hsn_sac_code": "1001",
"is_rcm_applicable": "0",
"gst_cess_rate": 136,
"sale_price": 100,
"sale_price_type": 2, // 1 = with GST, 2 = without GST
"discount_type": 1,
"discount": 0,
"income_ledger_id": null,
"purchase_price": null,
"purchase_price_type": 2, // 1 = with GST, 2 = without GST
"purchase_discount_type": 1,
"purchase_discount_value": 0,
"expense_ledger_id": null,
"decimal_places_for_rate": 3,
"quantity_unit": "6",
"quantity": null,
"rate": null,
"opening_balance_type": 2
}
]'
{
"success": true,
"message": "Item Master Created Successfully."
}