Hello everyone!
Is it possible by API to change my attribute set of my products?
Thank you.
Luciano
Solved! Go to Solution.
Looking at the API lists - directly bulk product update API is not there but you can try bulk-endpoints API - https://devdocs.magento.com/guides/v2.3/rest/bulk-endpoints.html
Another option would be to create a script and run the products update as an bulk as every time you will require to pass product_sku in the API so.
Hope it helps !
Yes, you can change your products attribute sets using the REST API.
Ultimately you will require to use the update product API and pass the attribute_set_id which you would like to change in the parameters and pass remaining required parameters.
Require to use Method : PUT
Access Token : Admin access token.
Refer this link for more details - https://devdocs.magento.com/swagger/#/catalogProductRepositoryV1/catalogProductRepositoryV1SavePut
Hope it helps !
Hi Manthan.
Thanks for your help!
Just one more question.
Can I use any APIs to do this for all my products at once?
Tks,
Luciano
Looking at the API lists - directly bulk product update API is not there but you can try bulk-endpoints API - https://devdocs.magento.com/guides/v2.3/rest/bulk-endpoints.html
Another option would be to create a script and run the products update as an bulk as every time you will require to pass product_sku in the API so.
Hope it helps !
Happy to help and keep helping others