Add Customer
Customer adding
URL
sales/add_customer
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | WNgqZPHxqu0W9Mu97lAUdZoFbLH9W7Bj | Key obtained from authentiaction. |
| custname | String | M | CUSTOMER | |||
| placeid | Integer | M | 0 | |||
| gstin | String | M | TEST | |||
| saddress | String | M | ADDRESS | |||
| sphone | String | M | 123456 | |||
| latitude | Decimal | M | 0 | |||
| longitude | Decimal | M | 0 | |||
| uid | String | M | d2974959e7bd40fd94269de2794ea70d | Unique Id | ||
| state | String | M | KER | Sundry State | ||
| spincode | Integer | M | 695001 | Sundry Pincode | ||
| drv_accode | Integer | M | 1 | Driver Accode - Entry done | ||
| slm_accode | Integer | M | 2 | Salesman Accode - Entry done | ||
| sortorder | Integer | M | 0 | Sort Order od Shop |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| status | String | M | ||||
| accode | Integer | M | ||||
| uid | String | M |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"custname": "CUSTOMER",
"placeid": "",
"gstin": "TEST",
"saddress": "ADDRESS",
"sphone": "123456",
"latitude": "",
"longitude": "",
"uid": "d2974959e7bd40fd94269de2794ea70d",
"state": "KER",
"spincode": "695001",
"drv_accode": "1",
"slm_accode": "2",
"sortorder": ""
}
Sample Success Response
{
"status": "",
"accode": "",
"uid": "",
"e": 200,
"msg": "Success"
}