Authorization: Bearer ********************curl --location --request POST '/products/product-bulk-upload' \
--header 'Authorization: Bearer <token>' \
--form 'docs=@""'{
"success": true,
"message": "Product/Service queued successfully",
"data": {
"processedProduct": {
"totalProducts": 3,
"okCount": 3,
"errorCount": 0,
"formattedProducts": [
{
"productName": "jordans",
"unit": "Cartons",
"pieces": 23,
"variantType": "Multiple Types",
"variantName": "m23",
"quantity": 23,
"costPrice": 2000,
"sellingPrice": 3000,
"rowNumber": 11
},
{
"productName": "jordans",
"unit": "Cartons",
"pieces": 24,
"variantType": "Multiple Types",
"variantName": "m24",
"quantity": 2,
"costPrice": 3000,
"sellingPrice": 4000,
"rowNumber": 12
},
{
"productName": "fried egg",
"unit": "Pieces",
"pieces": 1,
"variantType": "One Type",
"quantity": 1,
"costPrice": 150,
"sellingPrice": 150,
"rowNumber": 13
}
],
"errors": []
},
"processedService": {
"totalServices": 1,
"okCount": 1,
"errorCount": 0,
"formattedServices": [
{
"name": "washings",
"ratePerSession": 4000,
"rowNumber": 11
}
],
"errors": []
}
}
}