Is it possible to set a product as deleted using the nopAPI for 4.0?

1 year ago
Hello,

I'm using nopCommerce 4.0 with source.

I'm trying to call the nop API Put api/products with this JsonUrl:
/api/products/14511

and this JsonData:
{"product":{"Deleted":true}}


It returns with a Status OK.

The documentation does not show an example Put for products.

Thanks,
Tony
1 year ago
The problem with this is that the JsonData needed a lower case "d":

[code]{"product":{"deleted":true}}/code]