Hello,
Explaining as an Example:
I have a main product called "Henekein 30 Pack Beer" (Barcode 22445566)
It has its own cost, sell price and inventory.
Now I would like to add its variants like
1. "Henekein 18 pack" (Barcode 123456)
2. "Henekein 12 pack" (Barcode 123456)
3. "Henekein 6 pack" (Barcode 123456)
4. "Henekein Single pack" (Barcode 123456)
These are just variants of that main item that I want to sell as a different barcode.
Whenever this main item and its variants gets sold, the inventory should be deducted from the main Item only.
How can I achieve this by using the REST API?
Can someone please suggest?
Thank you in advance for your time and consideration.