Price details doesn't show for product_search OCAPI DATA API call for customer
Trailblazer Community

Price details doesn't show for product_search OCAPI DATA API call for customer

Commerce Cloud API/OCAPI , Commerce Cloud Platform

Last updated 2020-06-22 ·Reference W-5119640 ·Reported By 14 users

In Review

Summary
OCAPI DATA API method /product_search does not return Pricing details of the Products.

Repro
Use Data API /product_search?site_id=xxxx

As per the documentation, the product search retrieves additional properties of the product when expansions are used.

Try to fetch 'prices' using expand and it will retrieve the following properties:
1. price
2. price_currency

Check the response. It does not return additional Pricing info in response.

Workaround
Customer can use following SHOP API request:
/products/({id},...,{id})?expand=prices

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.