cancel
Showing results for 
Search instead for 
Did you mean: 

REST API and custom attributes

SOLVED

REST API and custom attributes

Hi

My magento installation has 3 stores (domain+language). I would like to update custom attributes for products. When I call

GET products/my_test_sku?storeId=1

i get something like the following json:

{
	"id": 1036,
	"sku": "my_test_sku",
        :
	"custom_attributes": [
		{
			"attribute_code": "question_color",
			"value": "#fa45a4"
		},
                :
	]
}

I can not figure out how to update values for these custom attributes using some POST or PUT api call. The values are different for each storeId.

I really appreciate any help :-)
Kind regards - Mikkel

1 ACCEPTED SOLUTION

Accepted Solutions

Re: REST API and custom attributes

1 REPLY 1

Re: REST API and custom attributes