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

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years 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
5 years ago
The problem with this is that the JsonData needed a lower case "d":

[code]{"product":{"deleted":true}}/code]
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.