Deactivating a product through the API deletes the product object

Hi,

I believe there may be an issue with the PUT /products/{id} endpoint.

I’m trying to simply deactivate a product with { "active_flag": false }. Instead of being deactivated the product gets deleted.

Anyone else able to confirm this please?

Got an update from Pipedrive about this, and indeed the active_flag attribute is used to delete/restore a product and the selectable attribute should be used instead. Maybe just me but I find this somewhat misleading, might be good to update the API documentation to clarify this :upside_down_face: