WooCommerce-REST-API-Client-Library
WooCommerce-REST-API-Client-Library copied to clipboard
get_by_sku not working with products with dots
Hi guys,
After the recent updates on woocommerce I noticed the following SKU fails: NT.LC3EE.003
Thanks
hi you can get it with this role:
$client->custom->setup('products');
$result = $client->custom->get('',array( 'filter[sku]' => $product_sku ));
$product_sku =>your custom sku! :))