cancel
Showing results for 
Search instead for 
Did you mean: 

Problem assigning new attributes to a product using REST magento version 2.0.2

Problem assigning new attributes to a product using REST magento version 2.0.2

I can create new attributes and their options and set them against a product using catalogProductRepositoryV1 post or PUT

However if the Attribute is not assigned to an attribute set, then the products attribute value is lost.

 

How can I assign new attributes to the attribute set using REST?

 

1 REPLY

Re: Problem assigning new attributes to a product using REST magento version 2.0.2

Found it in catalogProductAttributemanagementV1 post V1/products/attribute-sets/attributes

 

However canot get get /V1/products/attribute-sets/{attributeSetId}/attributes to work it crashes