Showing results for 
Search instead for 
Did you mean: 

catalogProductCreateEntity.categories vs. catalogProductCreateEntity.category_ids

catalogProductCreateEntity.categories vs. catalogProductCreateEntity.category_ids



would anybody care to explain the difference between those two?


Since catalogProductCreateEntity.category_ids is indeed filled with String(catalogCategoryCreate(InstanceOfCatalogCategoryEntityCreate)) I was guessing that catalogProductCreateEntity.categories would be filled with strings previously used in, but that doesn't seem to work, Magento just seems to ignore those values, without any feedback at all.


Thanks in advance.


Edit: Nvm, they seem to be one and the same, maybe one is deprecated, the documentation should be clear about this and not state that the categories field is an array of categories while it's really an array of category_ids (well actually its an array of strings...).