403 HTTP result on a PUT request (Shopware 5.3.3)

Hi all,

I want to update the trackingcode and status of an order. My api user has an admin role, is active and able to get order(s).

When I want to perform a PUT request I get a 403 http status and the order model as a result. Postman is also giving this result.

Any ideas?

Solved!

Adding the code below to the .htacces fixed this issue:

  Allow from all

source:  http - Why does my web server software disallow PUT and DELETE requests? - Stack Overflow