To add an attribute, pass the name, group id and product code (optional) as a parameter.
URL Query Parameters
-
name - The name of the product attribute i.e. “Extra Memory” or “Gift Wrap”
-
attribute_group_id - The attribute group id the attribute is being assigned to
-
code - The product code of the product you wish to assign as an attribute (optional)
Call
POST /rest/attributes.json
Comments
0 comments
Please sign in to leave a comment.