Retrieve Customer Information
GET/customers
(🚧 in development) This endpoint retrieves information about customers in the system.
The system searches for customers based on the provided customerIds[]
, and optionally shopId
. If shopId
is not provided, the system searches for customers linked directly to the company.
Request​
Query Parameters
An array of customer identifiers in the merchant's system.
The unique identifier of the shop within the merchant company. If not provided, the system searches for customers linked directly to the company.
Responses​
- 200
Customer information retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Shop identifier. If this is null instead of a shop ID, it means the customer is associated with the company rather than a specific shop.
customers object[]required
List of customer information.
The unique identifier of the customer, either provided by the merchant's system or generated by our system if the customerId was not specified in the request.
The first name of the customer.
The last name of the customer.
The middle name of the customer, if provided.
The customer's phone number.
The customer's email address.
{
"shopId": "456",
"customers": [
{
"customerId": "cust789",
"firstName": "John",
"lastName": "Doe",
"middleName": "A",
"phone": "+1234567890",
"email": "john.doe@example.com"
}
]
}