bLoyal API Documention and Samples

Method: GetTransactionCustomer

Description

Returns the customer that has been assigned to the current transaction given the bLoyal generated transaction token.  The method returns the TransactionCustomer entity which contains the key summary identification information of the customer.

Parameters
Name  Type  Description 
credential  Credential  Web service login credentials.
transToken  string  The transaction token to get the customer for.
Returns

A GetTransactionCustomerResult element having the structure defined by the following table.

Name  Type  Description 
AccountNumber  string   
Address1  string   
Address2  string   
City  string   
CompanyName  string   
Country  string   
EmailAddress  string   
ExternalId  string  The unique customer Id of the external system (i.e. your application)
FacebookId  string   
FaxNumber  string   
FirstName  string   
Id  int  The bLoyal customer id
IsTaxExempt  boolean   
LastName  string   
LoyaltyCardNumber  string   
MobileDeviceId  string   
MobilePhone  string   
Phone1  string   
Phone2  string   
PriceLevel  DM.PriceLevel   
State  string   
TwitterId  string   
Type  DM.CustomerType   
ZipCode  string   
Faults
Name  Content  Description 
SecurityFaultFault  SecurityFault   
RedirectFaultFault  RedirectFault  The client account is on another service cluster.
SystemFaultFault  SystemFault   
BusinessFaultFault  BusinessFault