Difference in Prices in WooCommerce Store API and WC REST API
-
Hi Team, There is a difference in prices in WooCommerce StoreAPI for cart endpoints and WC REST API for products. For example : WC Get Product Endpoint: https://stokkur.wpcomstaging.com/wp-json/wc/v3/products/420 Price in response : “price”: “1890”, “regular_price”: “1890”, WooCommerce Store API Get Cart Endpoint when product 420 is added : https://stokkur.wpcomstaging.com/wp-json/wc/store/v1/cart Price in response: “prices”: { “price”: “189000”, “regular_price”: “189000”, “sale_price”: “189000”, “currency_code”: “ISK”, “currency_symbol”: “kr.”, “currency_minor_unit”: 2, Due to this there is a confusion in the price data in endpoints. Can you please let us know why is it like this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Difference in Prices in WooCommerce Store API and WC REST API’ is closed to new replies.