• samkat4u

    (@samkat4u)


    Hi,
    I am using woocommerce plugin for getting products from server into mobile application. But we are getting only 200 products from server even if there are more than 200 products.

    Also, can we fetch the products by checking certain parameter from the product detail.
    For Ex. We want to retrieve the products which are ‘featured’. When the product is featured, we are getting the key as ‘featured’ : true. So how can we retrieve such type of products

    Thanks,
    Samkat

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Claudio Sanches

    (@claudiosanches)

    I am using woocommerce plugin for getting products from server into mobile application. But we are getting only 200 products from server even if there are more than 200 products.

    We have pagination… See: https://woothemes.github.io/woocommerce-rest-api-docs/#pagination

    For Ex. We want to retrieve the products which are ‘featured’. When the product is featured, we are getting the key as ‘featured’ : true. So how can we retrieve such type of products

    We don’t have a parameters/filter for featured products, but you can add a new one using the woocommerce_api_query_args filter

Viewing 1 replies (of 1 total)
  • The topic ‘How to get product list by checking certain parameter in woocommerce rest api’ is closed to new replies.