is there a way to get the line id of an item once ...
# suitecommerce
v
is there a way to get the line id of an item once it has been added to the cart via commerce api?
c
Are you using cart component? If No, you can use cart component to add the line. It returns line id.
v
I'm using commerce API's order object. But now that you've mentioned it, I'll explore the Cart component as well. Thanks 🙂
c
Sure @Viraj Shinde. Let me know how it goes?