• Resolved Elvis Martins

    (@studio27digital)


    I am experiencing an issue when attempting to update product information on my store using the WooCommerce REST API. I’m sending a PUT request to the /wp-json/wc/v3/products/{id} endpoint, but I am receiving a 405 – Method Not Allowed error in response.

    Here are the specific details of the issue:

    1. Request URL:bashCopiar códigohttps://londonwine.com/wp-json/wc/v3/products/9057
    2. HTTP Method:
      • PUT
    3. Authentication: I’m using basic authentication with the correct consumer_key and consumer_secret.
    4. Error Received: The server returns a 405 - Method Not Allowed error, which suggests that the PUT method might be blocked for this endpoint. I am uncertain if this is due to API configuration, server settings, or another restriction.
    5. Troubleshooting Steps Taken:
      • I reviewed the WooCommerce API documentation and confirmed that the PUT method should be available for this type of request.
      • I tested the request using tools like Postman and cURL to ensure there was no issue with the request configuration.
      • I checked with my hosting provider to rule out any firewall or server security settings that might block the PUT method.

    Could you help me identify why the PUT method is not allowed for this endpoint? Is there any specific adjustment or configuration within WooCommerce or the API that I should verify to ensure that product update requests are accepted?

    Any additional guidance would be greatly appreciated, as I am struggling to resolve this issue. Thank you very much for your attention and assistance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Elvis Martins

    (@studio27digital)

    [SOLVED] It was Really Simple Security that was blocking IP!

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello Elvis Martins,

    Thank you for contacting WooCommerce support.

    I am glad to know that you resolved the issue.
    I also appreciate you for sharing the solution here.

    Please don’t hesitate to contact us again if you have more questions or concerns.
    We are here to help ??

    Best regards.

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