According to the Catalog API documentation, the selection_type field in the ModifierList object has been deprecated. However, I’ve noticed that this field still appears to affect behavior in the Square Dashboard.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
The selection_type field in the ModifierList object is indeed deprecated, but it’s still functional for backward compatibility. The Square Dashboard uses this field to determine whether to display the modifier list as single-select or multi-select.
To ensure consistent behavior across all Square interfaces, you should set the selection_type field in addition to the min_selection_count and max_selection_count fields. If you want a modifier list to behave as multi-select, you should set selection_type to MULTIPLE.
Please note that while this field is still functional, it’s recommended to migrate away from using it as it may be removed in future updates.