Get top saller in json api

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Oleh
Posts: 14
Joined: 13 Jul 2020, 08:11

Get top saller in json api

Post by Oleh » 22 Jul 2020, 11:47

Hi,
In front-end
mysite.com/shop/Home~1 I see component:"Top seller" which include products
How I can get top seller in json api? Or I must create custom endpoint for this?
Thank you

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Get top saller in json api

Post by aimeos » 24 Jul 2020, 07:31

No the JSON REST API already offers retrieving that products using:

Code: Select all

<URL from OPTIONS meta[resource][product]>?filter[f_catid]=123&filter[f_listtype]=promotion
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply