How can the sold count of products on the product detail page (PDP) be retrieved in Shopify using api?
Topic summary
A user asks how to retrieve and display the sold count of products on Product Detail Pages (PDPs) using Shopify.
A PageFly representative responds that exact sold counts cannot be retrieved via Shopify API, but offers three alternative approaches:
- Inventory Levels (rough estimate): Access product inventory data (
inventory_quantity) through Shopify Admin API as an indirect popularity indicator, though not a true sold count - Third-party Apps: Explore apps that offer sales tracking and PDP integration for estimated sold counts (may involve additional costs)
- Custom Development (advanced): Build a custom system to track sales data and integrate it with PDPs for displaying estimated sold counts (requires technical expertise)
The discussion remains open with no confirmation of which solution the original poster will pursue.
Hi @muhammad_haroon ,
This is Theodore from PageFly - Shopify Page Builder App.
Retrieving exact sold count via Shopify API isn’t possible, but here are options:
- Inventory Levels (rough estimate): Use Shopify Admin API to access product inventory (inventory_quantity). Not a perfect sold count, but reflects popularity if inventory is updated regularly.
- Third-party Apps: Explore apps offering sales tracking and PDP integration for estimated sold counts (may involve additional cost).
- Custom Development (advanced): Develop a system to track sales data and integrate it with PDP for displaying estimated sold counts (requires technical expertise).
Best regards,
Theodore | PageFly