We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

How to get response from posted REST API order

Home Forums Puzzles How to get response from posted REST API order

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #61261
    Pandern
    Customer

    Hi,

    I’m having an issue with retrieving and utilizing the response from a successful order posted to the WooCommerce REST API. I need to get the generated order number.

    Shouldn’t the sent data automatically include this information?

    What am I doing wrong?

    puzzle send data

    • This topic was modified 1 year, 4 months ago by Pandern.
    #61262
    Pandern
    Customer

    When i add a GET command to get the last order and the order number it is working fine. So it is communicating, but the send data puzzle is not recieving a response.

    edit:
    After som time I recieved this error in the console:

    :scratch:

    • This reply was modified 1 year, 4 months ago by Pandern.
    #61317

    Hi Pandern,

    This page hints that Chrome Extensions can be the reason. You might try to run your app in incognito tab to see if this is so.

    Chief 3D Verger | LinkedIn | Twitter

    #61385
    Pandern
    Customer

    Hi Yuri

    I tried in incocnito, edge,and firefox developer, but no response from the post. Haven’t seen the error message again either though. I will do some more testing after migrating it to the wordpress server after the app is done on monday.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.