question

chetan avatar image
chetan asked chetan answered

Fetch list of all customer in descending or ascending order?

I am using webapi of clover and I want to fetch customer in ascending or descending order along with the customerSince filter.

Can anyone please tell me how it is to be done ?

Thanks much in advance

Customers
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Mike M avatar image
Mike M answered

For Sorting, please see: https://docs.clover.com/build/web-app...

  • You can use ASC and DESC to flip the order. Ex: orderBy=createdTime%20DESC

For Filtering, please see: https://docs.clover.com/build/web-app...

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

chetan avatar image
chetan answered

Thanks mike it works like charm for me

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community