XML Import product with multiple variation

I would like to import products with different sizes, and quantity. What would a sample xml format that allows me to import suppliers products with variations. All sizes will have the same price.
Example:
Main product name: Dress, 36, quantity (in stock): 5
Variant1: Dress, 38, quantity (in stock): 7
Variant2: Dress, 40, quantity (in stock): 3
Variant3: Dress, 42, quantity (in stock): 9
Variant4: Dress, 44, quantity (in stock): 4
What will be a good sample xml structure that helps to import a product with the above variations?
Your support is appreciated.
Thank you

1 Like