• Good Morning,

    We are integrating Woocommerce API V1 with salesforce. We sucessfully connected to woocommerce from salesforce using oAuth 1.0 (The woocommerce account we are using has not SSL enabled) and the GET method to obtain all the orders list by using the following URL:

    GET OUR_WOOCOMMERCE_DOMAIN/wp-json/wc/v1/orders?oauth_consumer_key=MY_CONSUMER_KEY&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1474322937&oauth_nonce=uIHeQq&oauth_version=1.0&oauth_signature=RBu3zar9S9aHVFkgrU0VSvnXvM0= HTTP/1.1
    Host: nutrafol-ymeedev.us
    Authorization: OAuth oauth_consumer_key=”MY_CONSUMER_KEY”,oauth_signature_method=”HMAC-SHA1″,oauth_timestamp=”1474316896″,oauth_nonce=”srB6WV”,oauth_version=”1.0″,oauth_signature=”GHnL6NarGQv%2FANy9R0vKEe3FM2Q%3D”

    Until this part everything works fine. But when we are trying to limit the data brought from woocommerce by using filters like filter[created_at_min], filter[updated_at_min], etc… nothing gets filteres it always bring the same amount of data (meaning that the filtering is not working):

    GET /wp-json/wc/v1/orders?filter[updated_at_min]=2016-09-19&oauth_consumer_key=MY_CONSUMER_KEY&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1474379175&oauth_nonce=RQTL7i&oauth_version=1.0&oauth_signature=TVKVuAgr/g9Vs4ahrJfOqZsy9hg= HTTP/1.1
    Host: nutrafol-ymeedev.us
    Authorization: OAuth oauth_consumer_key=”MY_CONSUMER_KEY”,oauth_signature_method=”HMAC-SHA1″,oauth_timestamp=”1474316896″,oauth_nonce=”srB6WV”,oauth_version=”1.0″,oauth_signature=”GHnL6NarGQv%2FANy9R0vKEe3FM2Q%3D”

    Is there something that we are missing or doing wrong. Can sombody give us a hand please?

  • The topic ‘Woocommerce and Salesforce Integration – Filtering not working’ is closed to new replies.