find product details(price,sale price, promo tag etc) with pid/sku

Comments

2 comments

  • Official comment
    Rachel Beedie

    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

     

    Comment actions Permalink
  • Mangal Saini

    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 feedProperties function.

    DY.feedProperties

    For EX: DY.feedProperties.price/DY.feedProperties.rating

    Comment actions Permalink

Please sign in to leave a comment.