publ betaReference (MCP guide)
Open publ console

publ Reference

commerce_live_settings_apply

Changes the visitor entry timing or the broadcast appearance (viewer count, member code) in the Commerce Live app (pApp C00014). Entry timing and appearance are changed separately. Shows a preview first; the change runs only after confirmation. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
change Yes object
change.settings Yes object
change.settings.entryTiming No STAND_BY, SCHEDULED, 3_HOURS_BEFORE_START, 2_HOURS_BEFORE_START, 1_HOUR_BEFORE_START, 30_MIN_BEFORE_START, 10_MIN_BEFORE_START, LIVE_START; When visitors may enter a live room. Does not schedule or start a broadcast.
change.settings.viewerCountVisible No boolean; Show the live viewer count to visitors.
change.settings.memberCodeVisible No boolean; Show the member code next to chat nicknames.
confirmToken No string; pattern ^ct[a-f\d]{32}$; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute.