How to apply 'visible' status per channel
Overview
A product, modifier, modifier group or bundle can be set to "visible": false which by default would disable it on all channels. By applying channelOverrides variations on this disabled status can apply per channel.
Channel Overrides
The below snippet is an example of how you can specify a visible status override at a channel level via the 'Insert Product' endpoint.
The nested structure for "channelOverrides" specifies firstly the channel by it's global ID (see GET Integrated channels) followed by the "visible" boolean.
The result would be that items can be disabled on specified channels;
{
"name": "Wings®",
"description": "Oven roasted wings",
"price": 819,
"plu": "I:105001",
"channelOverrides": {
"7": {
"visible": false
},
"12": {
"visible": true
}
}
}Updated 2 days ago
Did this page help you?
