POST
Get Customers
Retrieves a paginated list of customers with minimal data
/api/customers/listRequest Body
namestring(optional) - Filter by customer name (partial match)agentIdstring(optional) - Filter by agent ID (GUID)isActiveboolean(optional) - Filter by active statuspageSizeinteger(required) - Number of items per pagecustomerTypestring(required) - Type of client: 'C' (Client) or 'S' (Supplier)pageNumberinteger(required) - Page number (1-based)clientTypeIdstring(optional) - Filter by client type ID (GUID){
"name": "",
"isActive": true,
"pageSize": 20,
"customerType": "C",
"pageNumber": 1
}Responses
200Customers retrieved successfully
{
"data": {
"data": [
{
"id": "598d7a31-cca6-4816-be16-a6b395e98b85",
"code": "300001",
"mail": "fares@gomake.net",
"name": "tester",
"phone": "+9720546123203",
"isActive": true,
"recordID": 96619,
"createDate": "2025-01-06T14:15:24.735192",
"clientTypeId": "c365bccf-eeb3-4df8-9adb-370a0fa5204a"
}
],
"totalItems": 69
},
"success": true
}400Bad request - Invalid parameters
401Unauthorized - Invalid or missing API token
500Internal server error
Example Request
curl -X POST \
https://api.gomake.net/api/customers/list \
-H "Content-Type: application/json" \
-H "X-Client-Id: your-client-id-here" \
-H "X-Client-Secret: your-client-secret-here" \
-d '{
"name": "",
"isActive": true,
"pageSize": 20,
"customerType": "C",
"pageNumber": 1
}'Note: Replace your-client-id-here and your-client-secret-here with your actual credentials. See the Authentication page for more details.
