• Resolved behindpixelpierre

    (@behindpixelpierre)


    Dear community,

    I am creating a flutter app which uses the WooCommerce Rest Api to display products and stuff. The problem is that I have added the add to cart functionality but when I want to display the current cart of the user, I am using the <my-domain>/wp-json/wc/v3/cart?user_id=8&consumer_key=mykey&consumer_secret=mysecretkey and the json response I am getting contains the user ID in the beginning like that: 6{“status”:true,”data”:[]}.

    Is this a problem from the WooCommerce side? Because I shouldn’t receive the user_id before the JSON response.

    Please help and thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce Cart Rest Api Problem’ is closed to new replies.