[FEATURE] : add pagination support for customers list #3746
Labels
C-feature
Category: Feature request or enhancement
good first issue
Good for newcomers
help wanted
Extra attention is needed
Feature Description
The customers list endpoint currently has no pagination support. It returns the list of all the customers in the database. There would be thousands of customers for a merchant. A pagination support for the api would be necessary.
Possible Implementation
accept two fields,
limit
andoffset
limit
specifies the number of objects returned in the response.offset
specifies the number of items to skip from the start, this is open to discussion whether to use offset or some other field.This would be similar to the
payments_list
pagination. Refer hereHave you spent some time checking if this feature request has been raised before?
Have you read the Contributing Guidelines?
Are you willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: