Create Clients API
Create Clients
POST
https://client.billeasy.in/api/v1/clients/createclients
Headers
Name
Type
Description
x-api-secret
string
secret token
x-api-access
string
Access token
REQUEST 1 : (all compulsary values)
{
"clients": {
"email": "ghugefarm@gmail.com"
,"company_name": "Ghuge Farm"
,"pan_number": "BOKPG6872F"
,"company_logo": "logo.png"
,"category_id": "Shopping"
,"gstin_number": "27AAECI9694M1ZN"
,"registered_company_name": "IRONOID HEALTH & FITNESS (OPC) PRIVATE LIMITED"
,"registered_company_address": "A/004,SHREE MANGESH APTS, DEVIDAS LANE , BORIVALI WEST, MUMBAI"
,"pos_name": "Web"
,"sub_category_id": "Super Markets"
,"phone_number": "9326025834"
,"accent": "3A5F0B"
,"client_type": "To be discussed"
},
"created_by": "name of source"
}
REQUEST 2 : (all possible values)
{
"clients": {
"email": "satpute@billeasy.in",
"company_name": "bhau",
"tan_number": "qwurgfty",
"pan_number": "dshfadghjslif",
"overall_value": 256,
"avg_per_customer": 12,
"gold_threshold": 11,
"exec_threshold": 500.54,
"category_id": "Shopping",
"store_info": "kjhih",
"stage_id": 1,
"gstin_number": "1233221",
"registered_company_name": "billeasy",
"registered_company_address": "192, Megh Tower, Film City Road",
"pos_name": "Kiran",
"system_os": "windows",
"sub_category_id": "Restaurants, Fine Dining & Cafe's",
"razorpay_client_id": "1",
"phone_number": "9011191633",
"account_number": "1234567823",
"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": "qwertyu",
"client_type": TO bE discussed,
"is_feedback_enabled": true,
"is_fixed_billing": true,
"fixed_billing": 1,
"avatar": "absjahb",
"twitter_handle": "xyzxyz",
"whatsapp_support_number": "9988776699",
"is_verification_enabled": true,
"is_email_notification_enabled": true
},
"created_by": "name"
}
RESPONSE :
{
"success": true,
"msg": "client created successfully",
"data": {}
}
{
"success": false,
"msg": "error while creating client",
"data" : "some text here"
}
Last updated