0
我正嘗試在從我的Android應用程序的woocommerce庫存中提取產品時應用篩選器。對於基於類別獲取產品,我使用的URL爲如何根據一些參數篩選woocommerce中的產品...需要的端點
mysite/wc-api/v3/products?filter [category] =「+ mycategory」。
這工作正常,我得到所需的結果。
現在我需要根據一些過濾器,如價格,品牌等等來獲取產品
我使用
1> mysite的/ WC-API/V3 /產品試過?過濾[類別] = 「+ category +」?filter [price] =「+ price +」and
2> mysite/wc-api/v3/products?filter [category] =「+ category +」& filter [price] =「+ price + 「」。
它不工作。
我參考http://woothemes.github.io/woocommerce-rest-api-docs/#parameters – Nishith