createProduct() keeps setting optionType to drop_down

“productOptions”:{
“Color”:{
“optionType”:“color”,
“name”:“Color”,
“choices”: [{
“description”: “613”,
“value”: “#F5EECD”,
“inStock”: true,
“visible”: true,
“quantity”: 20,
},
The optionType should be set to “color” after the method is called, but it is set to “drop_down” instead. Does anyone know why this happens? I even tried using updateProductFields after using createProduct() but that didn’t help either.

Any help would be appreciated!

having the same problem, looks like this has been an issue for a while, and optionType doesn’t seem to specified as an available field for a body.
any word on when we’ll be able to set the optionType when setting product choices?

Hey @PERFECTRESS_US!

This topic is an old topic. To help keep the forum organised, I’d recommend starting a new topic outlining the issue you are facing, what you’re hoping to achieve, and what you’re already tried. :slight_smile: