I'm not able to update size and color inventory of one product.
I know that first I have to get id_product_attribute that includes color and size, once I get it I'll be able to update inventory using StockAvailable, but the problem is how to get id_product_attribute of an specific size and color?.
I would like to search by name or id of each attribute, and get id_product_attribute (combination) in order to send to StockAvailable and update stock.
I'm not able to update size and color inventory of one product.
I know that first I have to get id_product_attribute that includes color and size, once I get it I'll be able to update inventory using StockAvailable, but the problem is how to get id_product_attribute of an specific size and color?.
I would like to search by name or id of each attribute, and get id_product_attribute (combination) in order to send to StockAvailable and update stock.
Thank you in advance.