How to get the best seller products in last 3/7/31 days

HeyKK
Shopify Partner
3 0 1

Hi everyone,
How to get the best seller products in last 3/7/31 days via rest API or GraphQL? I tried to look at documentation but can not find anything. 

Replies 0 (0)