API Version Auth Token Data Sources Server Time
AP Check Update AP Invoice Entry
AR Invoice Entry AR Remittance Entry
GL Account
Adjustments Entry Backflush Kit Issue Issues Entry Part Physical Count Entry Stock Status Stores Transfer
Serial Number Cross Reference WIP Completions Entry
Lot
Multiple Location
Bill of Material
Purchase Order PO Receipts Entry Receipt Transaction Vendor Vendor Contact Vendor Part
Customer
Customer Contact
Customer Part Product Price Sales Order Serial Number Shipments Entry Shipment Transaction




Customer Contact, Update

Updates an existing Customer Contact using the supplied data and returns the details of the updated Customer Contact.

URL
/api/customer-contact-update
Request Method
POST
Expandable Program
Customer Contact Editor (SOECT)
Required Fields
CUSTOMER_ID
CUST_CONTACT
(at least one field to update)
AUTH_TOKEN
Auth Token
This API call requires an Authentication Token ("Auth Token") for the required field AUTH_TOKEN. Auth Tokens are obtained from Auth Token, Get.
Example Request JSON
{
  "CUSTOMER_ID": "ABCCORP",
  "CUST_CONTACT": "JHERNANDEZ",
  "E_MAIL": "jhernandez@abccorp.com",
  "NOTES": "Notes can be up to 32,765 characters long.",
  "ATTACHMENTS": "http://www.expandable.com/|C:\\Expandable.docx",
  "AUTH_TOKEN": ""
}
Full Request JSON
{
  "CUSTOMER_ID": "",
  "CUST_CONTACT": "",
  "CONTACT_STATUS": "",
  "FIRST_NAME": "",
  "LAST_NAME": "",
  "INITIAL": "",
  "TITLE": "",
  "MAIL_STOP": "",
  "ADDRESS_1": "",
  "ADDRESS_2": "",
  "ADDRESS_3": "",
  "CITY": "",
  "STATE": "",
  "ZIP_CODE": "",
  "COUNTRY": "",
  "PHONE_NO": "",
  "FAX_NO": "",
  "CELL_PHONE_NO": "",
  "PAGER_NO": "",
  "E_MAIL": "",
  "E_MAIL_2": "",
  "WEB_ADDRESS": "",
  "SOFCT_USER_1": "",
  "SOFCT_USER_2": "",
  "SOFCT_USER_3": "",
  "SOFCT_USER_4": "",
  "SOFCT_USER_5": "",
  "SOFCT_USER_6": "",
  "SOFCT_USER_7": "",
  "SOFCT_USER_8": "",
  "SOFCT_USER_9": "",
  "SOFCT_USER_10": "",
  "SOFCT_USER_11": "",
  "SOFCT_USER_12": "",
  "SOFCT_USER_13": "",
  "SOFCT_USER_14": "",
  "SOFCT_USER_15": "",
  "SOFCT_USER_16": "",
  "NOTES": "",
  "ATTACHMENTS": "",
  "AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:

200/OK

Returned JSON contains the successfully updated Customer Contact:
{
  "CUSTOMER_ID": "",
  "CUST_CONTACT": "",
  "CONTACT_STATUS": "",
  "FIRST_NAME": "",
  "LAST_NAME": "",
  "INITIAL": "",
  "TITLE": "",
  "MAIL_STOP": "",
  "ADDRESS_1": "",
  "ADDRESS_2": "",
  "ADDRESS_3": "",
  "CITY": "",
  "STATE": "",
  "ZIP_CODE": "",
  "COUNTRY": "",
  "PHONE_NO": "",
  "FAX_NO": "",
  "CELL_PHONE_NO": "",
  "PAGER_NO": "",
  "E_MAIL": "",
  "E_MAIL_2": "",
  "WEB_ADDRESS": "",
  "SOFCT_USER_1": "",
  "SOFCT_USER_2": "",
  "SOFCT_USER_3": "",
  "SOFCT_USER_4": "",
  "SOFCT_USER_5": "",
  "SOFCT_USER_6": "",
  "SOFCT_USER_7": "",
  "SOFCT_USER_8": "",
  "SOFCT_USER_9": "",
  "SOFCT_USER_10": "",
  "SOFCT_USER_11": "",
  "SOFCT_USER_12": "",
  "SOFCT_USER_13": "",
  "SOFCT_USER_14": "",
  "SOFCT_USER_15": "",
  "SOFCT_USER_16": "",
  "CREATED_BY": "",
  "DATE_CREATED": "",
  "MODIFIED_BY": "",
  "DATE_MODIFIED": "",
  "OPERATOR_ID": "",
  "DATE_LAST_UPDT": "",
  "TIME_LAST_UPDT": "",
  "NOTES": "",
  "ATTACHMENTS": ""
}
Failure Response
Returned HTTP status indicates failure:

400/Request JSON is invalid.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)

Returned JSON contains error information for the failed Customer Contact update:
{
  "MESSAGE": "",
  "MESSAGE_CODE": ""
}
Try the API