سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top