Customers
search customers
This API searches customer by email or phone or name and returns list of matched customers.
get/customers/search
Request
- Base URLhttps://api.test.bictorys.com/pay/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
emailstring
search customer by email
phonestring
search customer by phone
namestring
search customers by name. The search string should be the name of beginning of the name. Many customers may be found
Response
returns list of customers.
Example response
[
{
"id": "fbd2053b-638d-4133-957e-3caf63e6b79c",
"name": "John Dao",
"email": "john.dao@example.com",
"address": "23, avenue de la liberté",
"city": "Dakar",
"country": "SN",
"locale": "fr-FR",
"createdAt": "2022-06-20T17:17:11Z",
"updatedAt": "2022-06-20T17:17:11Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.