Customers

Retrieve a Customer info

Work with Customer info. "Birthday" and "Passport number" is for customers in category 'person'. "Company ID" and "VAT ID" for customers in category 'company'.Retrieves Customer info for customer/lead either with the given ID or params.

get/admin/customers/customer-info/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/customers/customer-info/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Customer.

Query parameters

paramsstring required
Example:{"main_attributes": ["birthday": "1999-01-01", "passport": "740373442", "company_id": "123456", "vat_id": "1"]}

URL-encoded array of search params.

Response

idnumber

Customer ID

birthdaystring

Birthday

passportstring

Passport number

company_idstring

Company ID

contact_personstring

Contact person

vat_idstring

VAT ID

updated_atstring

Last update date

Example response

{
  "id": 1,
  "birthday": "",
  "passport": "",
  "company_id": "",
  "contact_person": "",
  "vat_id": "",
  "updated_at": ""
}

Changes

No recorded changes to this operation across all 1 revision of this API.