I am trying to:
Deleting a Product that has variations and the translation.
I expected to see:
Deleted product and the translated version.
Instead, I got:
Only deleting of product but the translated version still remain.
->I checked: When deleting a post, delete translations as well
->Works if i do that with wordpress's backend, but not when i use Woocommerce API
-> The call that i do is: $woocommerce->delete("products/$product->id", ['force' => true ]);
Rest API is not yet 100% supported with WooCommerce multilingual, As of now retrieving products and order information is possible with WCML. Regarding your request, you might need to add some additional code extending the Rest API class to delete the translated products as the setting in the WPML will apply only for those actions carried from the WordPress backend.