For some reason, I am required to pass the AttributeID when updating the value for a StockItem attribute. I’m using this URL:
https://site.com/entity/Default/22.200.001/StockItem
For example, when I want to update “Color”, I have to pass this in the JSON body
"Attributes": t
{
"AttributeID": {
"value": "A372"
},
"Value": {
"value": "Black"
}
}
],
Instead of finding all the IDs, I want to be able to just pass this:
"Attributes": /
{
"Attribute": {
"value": "Color"
},
"Value": {
"value": "Black"
}
}
],
Does anyone know how to do this?