Nitin Gupta Posted August 14, 2020 Share Posted August 14, 2020 Hi Everyone, Is there any API available for creating variant products with combinations through web service? I am trying to add it using "api/products?schema=blank" and I am getting 200 response though product is not being created. Thank you Link to comment Share on other sites More sharing options...
iipa Posted August 17, 2020 Share Posted August 17, 2020 Check empty schema for api/combinations You need to know which product id your combination is related to, and what attribute id's you want to add to your combination. To add combination through webservice: 1. GET empty schema from /api/combinations 2. Fill in product information 3. POST filled schema to /api/combinations 4. Combination should be added successfully. If not, there is probably something wrong either with the request you are making or permissions in your API key. Link to comment Share on other sites More sharing options...
Nitin Gupta Posted August 17, 2020 Author Share Posted August 17, 2020 Hi iipa, Thank you for your update. Let me try. 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