Get paginated list of customers with search and filtering
GET
/openapi/customer/paged
const url = 'https://open-api.replyco.com/openapi/customer/paged?page=1&count=10&asc=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://open-api.replyco.com/openapi/customer/paged?page=1&count=10&asc=true' \ --header 'Authorization: Bearer <token>'Returns a paginated list of customers for the authenticated user’s company.
Search capabilities: The term parameter searches across multiple fields:
- First name
- Last name
- Email address
- Phone number
- Marketplace customer ID
- Marketplace name
Available sort fields:
- Firstname
- Lastname
- Phone
- CreatedDate
- Marketplace
- MarketCustomerId
Pagination limits:
- Default page size: 10
- Maximum page size: 100
Use cases:
- Customer lookup and management
- Customer support contact search
- Integration with CRM systems
Sample request:
GET /customer/paged?page=1&count=20&term=john.doe@example.com&sort=CreatedDate&asc=false
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”page
integer format: int32
Page number (default: 1, min: 1)
count
integer format: int32
Items per page (default: 10, min: 1, max: 100)
term
string
Search term to filter customers by name, email, phone, marketplace ID, or marketplace
sort
string
Field name to sort by (Firstname, Lastname, Email, Phone, CreatedDate, Marketplace)
asc
boolean
Sort order: true for ascending, false for descending (default: true)
Responses
Section titled “Responses”Returns the paginated customer list
Media typeapplication/json
object
totalRecords
integer format: int32
pageSize
integer format: int32
pagesCount
integer format: int32
currentPage
integer format: int32
data
Array<object>
IntegrationId and ShopType are required.
object
id
string format: uuid
firstName
string
lastName
string
marketCustomerId
string
email
string
phone
string
integrationId
required
string format: uuid
marketplace
required
integer format: int32
customerAddress
object
id
string format: uuid
addressLine1
string
addressLine2
string
addressLine3
string
city
string
country
string
postalCode
string
state
State or region
string
phone
string
notes
Related Notes to Customer
Array<object>
object
id
string format: uuid
note
required
string
username
string
Example
{ "data": [ { "marketplace": "0 - PlaceholderDoNotUse" } ]}Invalid pagination parameters (e.g., page size exceeds 100)
User is not authenticated or authorized