休息APIurl获取商品详情
Rest API url to get product details
我正在使用 REST API 获取 WooCommerce 产品详细信息。这是我正在使用的url,
https://squatwolf.com/wc-api/v3?id&name&permalink&short_description&price&sale_price
它没有向我展示正确的产品。我的请求可能有什么问题?
可能是因为你没有调用正确的终点。尝试
https://squatwolf.com/wc-api/v3/products?id&name&permalink&short_description&price&sale_price
我正在使用 REST API 获取 WooCommerce 产品详细信息。这是我正在使用的url,
https://squatwolf.com/wc-api/v3?id&name&permalink&short_description&price&sale_price
它没有向我展示正确的产品。我的请求可能有什么问题?
可能是因为你没有调用正确的终点。尝试
https://squatwolf.com/wc-api/v3/products?id&name&permalink&short_description&price&sale_price