Optimize Your Product Listings: Show Best-Selling Parts First!
The Sort Parts by Sales API is a powerful tool designed to help distributors reorder the parts of a product in their e-commerce platforms based on estimated total sales. By prioritizing best-selling parts, this API enhances the consumer experience, boosts product visibility, and drives sales for distributors.
https://psrestful.com/extra/v1/products/:extra_id/sorted-parts?days=60
extra_id
(path parameter): The ID of the product whose parts you want to sort.days
(query parameter): The time period (in days) to consider for sales data.
Default is
60
days.
https://psrestful.com/extra/v1/products/:extra_id/sorted-parts?days=60
Here is an example of the JSON response for a product with Extra ID = 70:
{
"count": 4,
"parts": [
{
"part_id": "5614WHT",
"color": "WHITE",
"size": "",
"total_sales": 2529
},
{
"part_id": "5614BLK",
"color": "BLACK",
"size": "",
"total_sales": 1558
},
{
"part_id": "5614NAV",
"color": "NAVY BLUE",
"size": "",
"total_sales": 563
},
{
"part_id": "5614GRA",
"color": "GRAY",
"size": "",
"total_sales": 447
}
]
}
Leverage the Sort Parts by Sales API today and ensure your best-selling product parts get the attention they deserve!
Start Now