JustJohn Posted November 1, 2022 Share Posted November 1, 2022 Is my understanding correct that to create a new produc with combinations via REST API you must do things in this order: POST simple product and retrieve its ID POST all necessary combinations referencing the product's ID GET product and retrieve the IDs of all stock_availables for that product Map stock_availables IDs to combinations IDs PUT stock_availables with the required stock quantities POST images Can it be shortened somehow? That's... well, a lot of separate requests just to create a single product. I at least know you can't POST stock_availables which could've made it easier. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now