Guides

Payload Definition

The payload definitions related to the use of the Saucelive Collection Library are as follows.

Library payload

setInit

parametertypeRequireDescriptiondefault
partnerIdStringtrueThe partnerId you received
idStringfalseThe target DOM ID (used for full rendering)'sauce_collect'
broadcastbooleanfalseSet whether to display the Live Replay areatrue
schedulebooleanfalseSet whether to display the Live Preview areatrue
scheduleTypeStringfalseSet the Live Preview format to one of: "image", "feed", or "list" "image" | "feed" | "list"'image'
curationbooleanfalseSet whether to display the Curation Category areatrue
curationDetailbooleanfalseSet whether to display the Curation Detail areatrue

See the example in Library Basic Usage Page for more details.

setMemberObject

parametertypeRequireDescription
nickNameStringtrueNickname displayed in the chat window.
memberIdStringtrueUnique customer ID issued by your system.
genderStringfalseGender data.
memberType"0" | "1"false1 for member, 0 for guest.
ageStringfalseAge data.

See the example in Library Authentication Feature for more details.

setMemberToken

parametertypeDescription
XStringJWT Token

See the example in Library Authentication Feature for more details.

load ( 전체 랜더링 )

ParametertypeRequireDescriptiondefault
XStringfalseSpecified DOM ID'sauce_collect'

See the example in Library Basic Usage Page for more details.

loadCuration

ParameterTypeRequireDescription
curationIdStringtrueCuration ID retrieved from the Admin.
elementIdStringtrueSpecified DOM ID

See the example in Library Module Usage Page for more details.

loadBroadcast

ParameterTypeRequireDescriptiondefault
displayTypeStringtrueDisplay types. 'horizontal' | 'vertical''horizontal'
elementIdStringtrueSpecified DOM IDX
titleStringfalseTop title for the Live Replay section.X

See the example in Library Module Usage Page for more details.

loadSchedule

ParameterTypeRequireDescriptiondefault
scheduleTypeStringtrueLive Preview format. ''image' | 'feed' | 'list''image'
elementIdStringtrueSpecified DOM IDX

See the example in Library Module Usage Page for more details.

loadCalendar

ParameterTypeRequireDescriptiondefault
elementIdStringtrueSpecified DOM IDX

See the example in Library Module Usage Page for more details.

loadTopBanner

ParameterTypeRequireDescriptiondefault
elementIdStringtrueSpecified DOM IDX

See the example in Library Module Usage Page for more details.

Library-Specific Bridge Payload

When using the library, please refer to the Library Bridge Usage Guide or how to configure the bridge settings.

flexCollectEnter

This bridge is triggered when the page is loaded.

ParameterTypeRequireDescription
없음--Automatically triggered on page load.

flexCollectMoveProduct

This bridge is triggered when a product is clicked.

ParameterTypeDescription
productIdStringProduct ID
productUrlStringProduct registration URL
broadcastUrlStringSaucelive broadcast URL

flexCollectMoveBroadcast

This bridge is triggered when a broadcast card is clicked.

ParameterTypeDescription
broadcastUrlStringSaucelive broadcast URL

flexCollectMoveTopBanner

This bridge is triggered when the top banner is clicked.

ParameterTypeDescription
bannerLinkUrlStringTOP banner link URL

flexCollectMoveContentBanner

This bridge is triggered when a content banner is clicked.

ParameterTypeDescription
bannerLinkUrlStringContents banner link URL

This bridge is triggered when a user subscribes to a notification.

ParameterTypeDescription
memberIdStringmember ID
programmingStartDtStringBroadcast start time (e.g., "2022-02-01T06:34:00.000Z")
programmingEndDtStringBroadcast end time (e.g., "2022-02-02T06:34:00.000Z")
broadcastIdStringBroadcast ID
accessTokenStringJWT Token

This bridge is triggered when a user cancels an alert.

ParameterTypeDescription
memberIdStringmember ID
programmingStartDtStringBroadcast start time (e.g., "2022-02-01T06:34:00.000Z")
programmingEndDtStringBroadcast end time (e.g., "2022-02-02T06:34:00.000Z")
broadcastIdStringBroadcast ID
accessTokenStringJWT Token

flexCollectBroadcastCustomButton

This bridge is triggered when a custom broadcast button is clicked.

ParameterTypeDescription
broadcastIdStringBroadcast ID
customButtonUrlStringURL linked to the button.