jasonknight/woocommerce-json-api

Deleting Product Variation

Closed this issue · 1 comments

Can support for deleting product variation be added.

You can pass:

{
  id: the_variation_id,
 __disconnect__: true,
publishing: 'trash'
}

In the variations collection for a item, this will disconnect them, and then put the variation in the trash.