-
-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Implement endpoint GET /api/v2/manage/customers to get a paginated list of customers
- successful
GETshould return 200 - field
datashould be present - fields
datashould be [] when there are no customers - field
totalshould return 0 when there are no customers - field
totalshould return 1 when there is a customer - it should accept
page,per_pageparameters - it should accept
order_byandsort_dirparameters - it should return 400 when the field specified on
order_bydoes not exist on customers -
fields last_page,current_pageandnext_pageshould be present in result - introduce a method at the business level
- use object
PaginationParameter - check returned object is uniform with other endpoints, use the correct schema object
- deprecate
GET /manage/customers/list - openapi: document endpoint
- openapi: deprecate
GET /manage/customers/list
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request