Getting Customer Information By Name
We are deprecating GetPartnerInfo. This method relies on partner names to identify partners. Because multiple partners can now share the same name, GetPartnerInfo can no longer reliably identify a single partner. See Migrating from GetPartnerInfo to GetPartnerInfoById for details.
To get information on a customer, use the GetPartnerInfo method.
Required parameters
| Parameter | Description | Supported values |
|---|---|---|
| name | The name of the customer to get details for | <std::String> String |
Sample request
{
"id": "jsonrpc",
"jsonrpc":"2.0",
"visa": "{{visa}}",
"method":"GetPartnerInfo",
"params":{
"name":"Zeus & Sons"
}
}Sample response
{
"id":"jsonrpc",
"jsonrpc":"2.0",
"result":{
"result":{
"AdvancedPartnerProperties":null,
"ChildServiceTypes": null,
"Company":{
"BankAccountNumber":"",
"BillingContactPersonId":0,
"ChamberOfCommerceNumber":"111FF1000",
"FaxNumber":"+121340000",
"LegalCompanyName":"Zeus & Sons",
"PhoneNumber":"+234567890000",
"PostAddress":{
"Address":"1 Godly Road",
"City":"Olympus",
"Country":"Greece",
"ZipCode":"ABC123"
},
"VatNumber":"CY99999999L",
"WebsiteAddress":"www.zeus-and-sons.com"
},
"CreationTime":1464945793,
"ExternalCode":"",
"Flags":null,
"Id":12345,
"Level":"Distributor",
"LocationId":1,
"MailFrom":"",
"MailingOption":"Undefined",
"Name":"Zeus & Sons",
"ParentId":23456,
"PrivateFlags":null,
"RegistrationOrigin":"Domestic",
"State":"InTrial",
"TrialExpirationTime":1467537793,
"TrialRegistrationTime":1464945793,
"Uid":"abcdef-1234-5678-ghij-lmn901e162e9",
"UpdatePackagesMaxAllowedVersion":""
}
},
"visa":"{{visa}}"
}Updated 28 days ago
Did this page help you?