eBay - Send Command Message
- 인쇄
eBay - Send Command Message
- 인쇄
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
eBay - Send Command Message
The Send command message
function is used to send commands to the Shoplive Player.
<div class="cm-s-neo" data-testid="SyntaxHighlighter" style="box-sizing:border-box;display:inherit;">const command = "COMMAND HERE";
const payload = { key: "KEY", value: "VALUE" };
window[ShoplivePlayer]("send", "SEND_COMMAND_MESSAGE", { command, payload });</div>
Commands
Command | Payload | Description |
---|---|---|
| N/A | (Optional) Notify that the external context has started. |
| N/A | (Optional) Notify that the external context has ended. |
| { | Bid request with the price |
| { "saved": true } | Change the seller saved state. |
| { | Change the coupon button state. |