Customer Service
Merchant Notes
The current method allows merchants to post 3rd party generic information into a customer profile. The information submitted will be logged as a new "customer request" of Type "Notes" and reason "Merchant Notes".
URL: https://customerinfo.upclick.com/services/SupportAPI.ashx
Parameters *:
| Parameter Name | Definition | Required | Type |
| GlobalOrderID | The UpClick order number related to the transaction | mandatory | char 8 |
| The customer email address | mandatory | char 100 | |
| Msg | The generic text to be added in teh customer profile | mandatory | char 500 |
* The parameters must be sent as HTTP GET.
** The request will be accepted only from IP addresses configured (white-listed) by Upclick.
Response: The Upclick page will respond with SUCCESS if the update has been done, or Failed in case not , with details about the erros (no matching record, no permissions, etc...)
Example:
Customer Update
The current method allows to update an existing Customer information, including name, email address and postal address.
URL: https://customerinfo.upclick.com/services/UpdateCustomer.ashx
Parameters *:
| Parameter Name | Definition | Required | Type |
| ID | The UpClick order number related to the transaction | mandatory | char 8 |
| CurrentEmail | The current customer email address | mandatory | char 100 |
| The new email address values | optional | char 50 | |
| Firstname | The new firstname value | optional | char 50 |
| Lastname | The new lastname value | optional | char 50 |
| Address | The new address value | optional | char 200 |
| City | The new city value | optional | char 50 |
| CountryISO | The new country value | optional | char 2 |
| StateISO | The new state value | optional | char 2 |
| Zip | The new zip value | optional | char 10 |
| Phone | The new phone value | optional | char 20 |
| Emarket | The new Newsletter option ( 0 - don;t bother me; 1 - send me updates) | optional | integer |
* The parameters must be sent as HTTP GET.
** The request will be accepted only from IP addresses configured (white-listed) by Upclick.
The first two fields are mandatory, allowing UpClick to identify and secure the request. All the other parameters are optional; if they are sent the method will update the values passed in the parameters. I change of state requires automatically that also the country parameter to be sent.
When a CustomerUpdate will occur through API an automatic log ( “customer request” ) will be also created in the customer profile and also a PostNotification event will send the event to your URL.
Response: The Upclick page will respond with SUCCESS if the update has been done, or Failed in case not , with details about the erros (no matching record, no permissions, etc...)
Example:
https://customerinfo.upclick.com/services/UpdateCustomer.ashx?ID=U45ZSD54&CurrentEmail=dbc@dbc.com&....
Related Resources: