How can I update the delivery date in Woocommerce Subscription?
In the documentation I did not find anything related. I thought I'd get the Metabox and upgrade via pure SQL, but there must be a better way.
Solved!
$g = wc_get_order_item_meta($item_id,'_tmcartepo_data');
$g[1]['value'] = 'Segunda';//Dia de Entrega
$g[2]['value'] = '28/08/2018';//Data de Entrega
wc_update_order_item_meta($item_id,'_tmcartepo_data',$g);