jasonknight / woocommerce-json-api

A simple, Abstract JSON API for Wordpress' Awesome Plugin: WooCommerce
58 stars 21 forks source link

set_products updates an existing product when no sku specified #35

Closed michaelfranzl closed 11 years ago

michaelfranzl commented 11 years ago

Instead it should return an error that the sku field is required

jasonknight commented 11 years ago

SKU is not required because WooCom does not require it.

jasonknight commented 11 years ago

Okay, it won't look for empty SKUs when setting the product, and it now should return a mesage in notifications that the product was created and give you an ID and SKU