find product details(price,sale price, promo tag etc) with pid/sku
I'm trying to retrieve detailed information about a product, such as its price, sale price, and any promotional tags, using its Product ID (PID) or Stock Keeping Unit (SKU). I know that this can only be done through recommendations. Could someone guide me on the steps or methods to do this manually for a single product? Any specific tools or APIs that are recommended for this purpose would be greatly appreciated. Thanks!
-
Comentário oficial
Hi Abu,
Thanks for your question.
To retrieve detailed information about a product, you can use the Get Product Performance Data API.
This API allows you to retrieve the product views and purchases of a particular SKU as well as the product properties of that SKU. You can list up to 15 properties to get data for. To enable this, add the product properties under the Product Performance API in general settings of your DY Admin section.
The product properties are retrieved when the attribute includeProductData is set to "true". If the attribute is set to "false", you retrieve only product views and purchases, no product data.
More further details, please refer to the following documentation: https://dy.dev/docs/get-product-performance
Thanks,
Rachel
Ações de comentário -
Retrieving detailed product information like price, sale price, or promotional tags typically happens through DY. If you're trying to do this manually for a single product using its PID or SKU, you can leverage DY’s
feedPropertiesfunction.
DY.feedProperties
For EX: DY.feedProperties.price/DY.feedProperties.rating
Por favor, entrar para comentar.
Comentários
2 comentários