POST api/Customer/Update
Updates customer.This API can handle single and multiple customer data. This API can be used to update the customer with out updating the customer address.
Request Information
URI Parameters
None.
Body Parameters
Array of Customer.
Collection of CustomerName | Description | Type | Additional information |
---|---|---|---|
CustomerCode |
FocusPoint Customer Code : AutoGeneratedID. Required : N |
string |
Max length: 20 |
Name |
Customer's FirstName. Required : Y |
string |
Required Max length: 50 |
Note |
Optional - can be used for other data as needed. Required : N |
string |
Max length: 16 |
CustomField1 |
Optional - can be used for other data as needed. Required : N |
string |
Max length: 50 |
MiddleName |
Customer's MiddleName. Required : N |
string |
Max length: 50 |
LastName |
Customer's LastName. Required : Y |
string |
Required Max length: 50 |
Gender |
Customer's Gender : Male -M, Female - F, Others - O. Required : Y |
string |
None. |
AlternateId |
CRM ID is a unique ID for each customer,this id will be referred throughout the entire process. Required : Y |
string |
Required Max length: 50 |
Request Formats
application/json, text/json
[ { "CustomerCode": "sample string 1", "Name": "sample string 2", "Note": "sample string 3", "CustomField1": "sample string 4", "MiddleName": "sample string 5", "LastName": "sample string 6", "Gender": "sample string 7", "AlternateId": "sample string 8" }, { "CustomerCode": "sample string 1", "Name": "sample string 2", "Note": "sample string 3", "CustomField1": "sample string 4", "MiddleName": "sample string 5", "LastName": "sample string 6", "Gender": "sample string 7", "AlternateId": "sample string 8" } ]
Response Information
Resource Description
stringResponse Formats
application/json, text/json
"sample string 1"