Request:
{
"group_shares": [
{
"customer_bill_id": 25779,
"customer_id": 562,
"discount": 0,
"grand_total": 79.5,
"group_participant_id": 35,
"group_share_particulars_attributes": [
{
"bill_particular_id": 49339,
"discount": 0,
"grand_total": 0,
"particular": "Maharaja Mc Burger",
"quantity": 0.5,
"tax": 0,
"total": 67.5
}
],
"group_share_type_id": 2,
"phone": "9987180806",
"tax": 12.0015,
"total": 67.5
},
{
"customer_bill_id": 25779,
"customer_id": 551,
"discount": 0,
"grand_total": 79.5,
"group_participant_id": 36,
"group_share_particulars_attributes": [
{
"bill_particular_id": 49339,
"discount": 0,
"grand_total": 0,
"particular": "Maharaja Mc Burger",
"quantity": 0.5,
"tax": 0,
"total": 67.5
}
],
"group_share_type_id": 2,
"phone": "9892228599",
"tax": 12.0015,
"total": 67.5
}
]
}
Response:
{
"success": true,
"msg": "group shares created",
"data": {}
}