You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to update metadata in a line item of an order.
I was able to update the order status its self but seem to have having issues figguring out how i should update meta data. I can get it to change but havent been able to get it to post and actually update the order any help would be appreciated.
Dim id As Integer = txt_orderid.Text
Dim response = Await wco1.Order.Update(CInt(Math.Truncate(id)), New Order With {.status = "completed"})
order = Await wco1.Order.Get(txt_orderid.Text)
For Each lineitem In order.line_items
lineitem.meta_data(3).display_value = "testing"
Next
The text was updated successfully, but these errors were encountered:
I am attempting to update metadata in a line item of an order.
I was able to update the order status its self but seem to have having issues figguring out how i should update meta data. I can get it to change but havent been able to get it to post and actually update the order any help would be appreciated.
The text was updated successfully, but these errors were encountered: