Update Client
UPDATE CLIENT
GET
https://client.billeasy.in/api/v1/clients/updateclients
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
x-api-secret
string
secret
x-api-access
string
access tken
REQUEST 1:
{
"clients": {
"email":"kiran123@gmail.com",
"company_name": "rahul rawal",
"tan_number": "3333333",
"pan_number": "bhau",
"overall_value": 256,
"avg_per_customer": 12,
"gold_threshold": 11,
"exec_threshold": 500.54,
"stage_id": 1,
"gstin_number": "gstnnnn",
"registered_company_name": "billeasy",
"registered_company_address": "192, Megh Tower, Film City Road",
"pos_name": "Kiruu",
"system_os": "windows",
"domain": "",
"razorpay_client_id": "1",
"phone_number": "99303",
"service_status": "onboarding",
"live_at": "2020-01-02",
"evaluation_starts_on": "2020-01-24",
"evaluation_ends_on": "2020-01-25",
"account_number": "12345678",
"is_editable": true,
"is_seperate_storage": true,
"validity": "2020-01-24",
"max_redemption_amount": 12345,
"earn_ratio_points": 1234564,
"earn_ratio_amount": 1234567,
"burn_ratio_points": 765428,
"burn_ratio_amount": 981229,
"is_rating_enabled": true,
"accent": "shVXJS",
"client_type": 1,
"is_feedback_enabled": true,
"is_fixed_billing": true,
"fixed_billing": 1,
"avatar": "absjahb",
"twitter_handle": "xyzxyz",
"whatsapp_support_number": "7588296315",
"is_verification_enabled": true,
"is_email_notification_enabled": true
},
"updated_by":"name",
"client_id": 300
}
RESPONSE :
{
"success": true,
"msg": "client updated successfully",
"data": {}
}
{
"success": false,
"msg": "error while updating client",
"data" : "(error.message)"
}
Last updated