How to Post new product with Sku using Nop API 4.0?

1 year ago
Hello,

I am using nopCommerce 4.0 with source and API 4.0.

I can add new products to the database using a API Json string that looks like this:
{"product":{"name":"Test product 3 from Chinavasion","short_description":"TWIN ALL TERRAIN FUN"}}


For some reason I am unable to add a new product to the database using this Json string:
{"product":{"name":"Test product 3 from Chinavasion","short_description":"TWIN ALL TERRAIN FUN","Sku":"zzzzzzzzzz"}}


It adds the product to the database, but the Sku is not populated.

Does anyone know why I can't Post a product containing an Sku?

Thanks,
Tony
1 year ago
Another dumb mistake.

The "Sku" should be "sku"(lowercase "s")