Update expense
POST
http://node-staging.billeasy.in/api/v1/customers/updateExpense
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
x-customer-number
string
x-customer-token
string
x-api-secret
string
x-api-access
string
Content-Type
string
Authentication token to track down who is emptying our stocks.
Request:
{
"amount": 12,
"collection_id": 0,
"customer_bill_id": 25970,
"customer_id": 551,
"metadata": {
"category_type": "Travel",
"date_of_expense": "10/02/2020",
"payment_method": "Cash"
},
"name": "demo 3"
}
Response:
{
"success": true,
"msg": "Expense are updated.",
"data": {
"affectedRows": 1,
"count": 1,
"rows": []
}
}
Last updated
Was this helpful?