OK - apologies - I’m just asking these for clarification…
Are you asking how to administer creating child products by attaching variation(s) to base product(s) AND building the children in bulk?
- this would require you to have created the necessary variation(s) with options and modifiers.
- attach variation(s) to, and build, each product.
These may be helpful:
I can’t really provide any more help for this - you can use the API to get productIDs and variationIDs - this should give you enough to make the calls to attach the variations to the products and call build.
NOTE! You will be rate limited to around 15 reqs/sec so if you do batch script this make sure you can self throttle otherwise you’ll not have the relationships or builds complete successfully!
Are you asking how to display this to this information your customers so they can pic a product and then select the relevant sizes?
This is an example that was done early doors in the feature. I think the responses changed a little before it went into production but hopefully you will see what is going on.
getChildID function is the one that uses the selections to pull the ID of the corresponding child product so that is probably the one to focus on.