Customers
List Customers
Returns a paginated list of customers.
get/customers
Query parameters
cursorstring
Example:d41d8cd98f00b204e9800998ecf8427e
Pagination cursor to return items located after it.
limitinteger
Example:10
Maximum number of items to return in the response.
created_fromstring date-time
Date & Time
Example:2019-07-30T06:43:40.252Z
Returns items created after the specified date, defaults to the current date starting from 12 AM.
created_tostring date-time
Date & Time
Example:2019-07-30T06:43:40.252Z
Returns items created before the specified date, up to one day earlier.
Defaults to current date and time, must be no more than 1 day later than created_from date.
Response
List of all customers
Example response
{
"data": [
{
"customerId": "ci0105ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantId": "0123456789101",
"createdAt": "2019-07-30T06:43:40.252Z",
"modifiedAt": "2019-07-30T06:43:40.252Z",
"firstName": "John",
"middleName": "J.",
"lastName": "Doe",
"companyName": "SP Ltd",
"address": {
"unitNumber": "123A",
"streetNumber": "3300",
"streetName": "Bloor Street West",
"city": "Toronto",
"province": "ON",
"postalCode": "M8X 2X2",
"country": "CA"
},
"shippingAddress": {
"unitNumber": "123A",
"streetNumber": "3300",
"streetName": "Bloor Street West",
"city": "Toronto",
"province": "ON",
"postalCode": "M8X 2X2",
"country": "CA"
},
"phoneNumber": "+18663197450",
"email": "moneris@moneris.com"
}
]
}