Zend certified PHP/Magento developer

Why Magento2 Rest API Deletes Empty/Empty Records in EAV Table for Product. Via MultiStore / Custom Attribute

I update some features of my products from time to time via the REST API. All property values change periodically for each of my stores and sometimes we turn it into a completely blank record.

For example, in Global Scope, the value of my Special Price attribute is $10, this value comes from Global Scope as it is the same in all my stores. Assuming I have A,B,C stores, I am sending this value as blank in my “C” store because I don’t want the discount applied to the product in that store.

Please note that I can do this from the Admin panel. Admin panel allows this.

My Request

https://store.local/rest/de_de/V1/products/product-sku

{"product": {
    "price": 15,
    "custom_attributes": [
        {
            "attribute_code": "special_price",
            "value": null
        }
    ]
}}

Display of current record in panel (incorrect)

Global Scope:
Global Scope

Store View (Incorrect)
Store View (incorret)

This is what should be
Store View - this is what should be