0

I am trying to integrate Magento 2.3.1 with Linnworks, All the api calls are working fine expect the CatalogInventory.

When we try to update the product inventory using rest

PUT https://sitename.com/rest/default/V1/products/:productSku/stockItems/:itemId

its showing 404: Not Found

Anyone please help me on this..

Thanks in Advance..

  • Whick method you have used ? Get? – aravind May 20 at 13:35
  • @aravind PUT method – SUBIN CHANDRAN May 21 at 5:33
1

We have fixed a similar issue by adding the following in .htaccess file inside public_html

<Limit GET POST PUT OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST PUT OPTIONS>
Require all denied
</LimitExcept>

Please make sure the Apache Module mod_headers is enabled mod_headers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.