WooCommerce-REST-API-Client-Library
WooCommerce-REST-API-Client-Library copied to clipboard
get_by_sku return false instead of error?
If the get_by_sku function is used and the SKU does not exist on the server, a 404 error code is returned. Would it not be more helpful to return 'false' so the function can also be used to check the existence of a product?