Skip to content

Magento API: Set ‘Use Default Value’ for Cost on Empty Fields

I have two stores and want to set the “Use Default Value” option for the cost field when its value is empty. This is functioning correctly in the admin panel. How can I achieve this using the API with the following endpoint:

http://test.com/rest/en_UK/V1/products/sku?
enter image description here