Question

In the BigCommerce Admin UI, you can establish the "default" value for an option via the "Make Default" checkbox in the "Configure Multiple Choice" list when editing an option.

Is there any way to get determine which option value is default via the v2 API? I've searched the API documentation and XML results, and it doesn't seem to be anywhere. I'm hoping I'm missing it.

Was it helpful?

Solution

Good news everyone! is_default attribute has been added. You can check the docs here:

https://developer.bigcommerce.com/api/objects/v2/option_value https://developer.bigcommerce.com/api/stores/v2/options/values

OTHER TIPS

After 6 weeks I got a reply from BigCommerce confirming that there is no way to get this information form the API:

My apologies for the delay in a response on this issue. Unfortunately at this time the "Default" value is not a property for an option selection in the API. The default selection is made in the control panel when editing the option itself and then the option values on Step 2 of that screen, but as you'll see in our documentation here the "Default" property is not accessible via API at current.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top