Always get the error Products not found for a valid product
-
The Rest API to add product to wishlist always throws error as Product not found even if I use a valid product id.
URL : https://stokkur.wpcomstaging.com/wp-json/wc/v3/wishlist/:shareKey/add_product?consumer_key={{consumerKey}}&consumer_secret={{consumerSecret}}
Request:
{
“product_id”: “297”
}
Response:
{
“code”: “ti_woocommerce_wishlist_api_wishlist_products_not_found”,
“message”: “Add product to wishlist failed.”,
“data”: {
“status”: 400
}
}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Always get the error Products not found for a valid product’ is closed to new replies.