Controller: Customer |
Method: Customer/FromEmail
Parameters: EmailAddress
Security: Bearer
Type: GET
URL: /Customer/FromEmail/{{EmailAddress}}
Response: HTTP Status 200
Response Body:
β
{
"CustomerInfo": {
"CPCustomerID": "100009",
"Category": "RETAIL",
"Company": "Red Rook",
"FullName": "John Doe",
"FirstName": "John",
"LastName": "Doe",
"Email": "jdoe@domain.com",
"NewsletterSubscribe": "no",
"BillAddress": {
"Company": "Red Rook",
"FullName": "Joseph Duke",
"FirstName": "Joseph",
"LastName": "Duke",
"Address1": "1955 Vaughn Road",
"Address2": "Suite 108",
"City": "Kennesaw",
"State": "GA",
"ZipCode": "30144"
},
"ShipAddress": {
"Company": "Red Rook",
"FullName": "Joseph Duke",
"FirstName": "Joseph",
"LastName": "Duke",
"Address1": "1955 Vaughn Road",
"Address2": "Suite 108",
"City": "Kennesaw",
"State": "GA",
"ZipCode": "30144"
}
}
}
β
Method: Customer/FromId
Parameters: CustomerId
Security: Bearer
Type: GET
URL: /Customer/FromId/{{CustomerId}}
Response: HTTP Status 200
Response Body:
β
{
"CustomerInfo": {
"CPCustomerID": "100009",
"Category": "RETAIL",
"Company": "Red Rook",
"FullName": "John Doe",
"FirstName": "John",
"LastName": "Doe",
"Email": "jdoe@domain.com",
"NewsletterSubscribe": "no",
"BillAddress": {
"Company": "Red Rook",
"FullName": "Joseph Duke",
"FirstName": "Joseph",
"LastName": "Duke",
"Address1": "1955 Vaughn Road",
"Address2": "Suite 108",
"City": "Kennesaw",
"State": "GA",
"ZipCode": "30144"
},
"ShipAddress": {
"Company": "Red Rook",
"FullName": "Joseph Duke",
"FirstName": "Joseph",
"LastName": "Duke",
"Address1": "1955 Vaughn Road",
"Address2": "Suite 108",
"City": "Kennesaw",
"State": "GA",
"ZipCode": "30144"
}
}
}