see comment below on optional params. Not sure why dependent product Ids is separated, it should probably be in the params hash as well.