Hello!
Problem with REST requests to site (PUT method)
Our site is a simple store on WooComerce.
We use standard WC APIs to update product quantities and work with orders.
GET and POST work correctly.
For example GET https://www.amzsupply.com/wp-json/wc/v3/orders returns 200
BUT for example PUT https://www.amzsupply.com/wp-json/wc/v3/products/8058
JSON:
{
"stock_quantity": {QTY}
}
we get a 500 response, but on the application side the request is executed (the quantity is changing).
Please help to solve this problem with PUT requests