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..

2
  • Whick method you have used ? Get?
    – aravind
    Commented May 20, 2019 at 13:35
  • @aravind PUT method Commented May 21, 2019 at 5:33

1 Answer 1

2

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

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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