Transfer campaign to seller

    Transfer campaign to seller


    Article summary

    Put
    /v2/{accessKey}/campaign/{campaignKey}/transferToSeller/{sellerId}
    Header parameters
    Authorization
    stringRequired

    Authorization: Bearer

    Path parameters
    accessKey
    stringRequired

    Customer access key

    campaignKey
    stringRequired

    Campaign key

    sellerId
    integer (int64) Required
    Defaultnull
    Query parameters
    withProduct
    boolean

    Whether the products will be moved to the seller together

    Defaultfalse
    Responses
    200

    200

    Result
    "{\n    \"campaignMeta\": {\n        \"campaignId\": \"1234\",\n        \"campaignKey\": \"{campaignKey}\",\n        \"accessKey\": \"{accessKey}\",\n        \"shoplivePlayerUrl\": \"https://www.shoplive.show/v1/player.html?ak={accessKey}&ck={campaignKey}\",\n        \"title\": \"New title\",\n        \"description\": \"New description\",\n        \"campaignStatus\": \"READY\",\n        \"rehearsalPasscode\": \"1234\",\n        \"serveReplay\": true\n        \"logoImageUrl\": null,\n        \"preCampaignVideoUrl\": null,\n        \"preCampaignImageUrl\": \"https://image.shoplive.cloud/14352cf2-ef40-4ba9-93af-279a104cb3c8.png\",\n        \"postCampaignImageUrl\": \"https://image.shoplive.cloud/6da19c2d-8d53-4cea-801f-7b39913f7c35.png\",\n        \"backgroundImageUrl\": \"https://image.shoplive.cloud/0b1bd566-4087-40ef-b376-fb863a888d72.png\",\n        \"ieUnsupportImageUrl\": \"https://image.shoplive.cloud/5a0fd01c-8889-4d28-8a15-8b7661a422a2.png\",\n        \"scheduledStartAt\": \"2022-12-01T09:00:00Z\",\n        \"scheduledEndAt\": \"2022-12-01T10:00:00Z\",\n        \"campaignStartedAt\": null,\n        \"campaignEndedAt\": null,\n        \"createdAt\": \"2022-11-01T08:15:00Z\",\n        \"updatedAt\": \"2022-11-30T11:40:09Z\"\n    },\n    \"stream\": {\n        \"streamUrl\": \"rtmp://stream.shoplive.cloud:1935/stream\",\n        \"streamKey\": \"{streamKey}\",\n        \"videoAspectRatio\": \"9:16\",\n        \"liveUrl\": \"https://live.shoplive.cloud/live/{streamKey}.m3u8\",\n       \"liveUrls\": {\n        \"480p\": \"https://live.shoplive.cloud/live/{streamKey}_480p/playlist.m3u8\",\n        \"720p\": \"https://live.shoplive.cloud/live/{streamKey}_720p/playlist.m3u8\"\n        },\n                     \"previewLiveUrl\": \"https://live.shoplive.cloud/live/{streamKey}_320p/index.m3u8\",\n        \"replayLiveUrl\": null,\n        \"replayLiveUrls\": null,\n        \"previewReplayLiveUrl\": \"https://api.shoplive.cloud/v1/replay/{accessKey}/{campaignKey}/replay_320p/ORIGINAL/index.m3u8\"\n    },\n    \"campaignProductList\": [],\n    \"seller\": {\n      \"sellerId\": \"3\",\n      \"name\": \"Live store\",\n      \"profileUrl\": \"https://image.shoplive.cloud/e2e1d1dc-6699-4652-a2f0-c6bae9efab2c.jpg\",\n      \"storeUrl\": \"https://www.shoplive.cloud/en#func01\",\n      \"description\": \"Live commerce store\",\n      \"schemes\": {}\n    }\n}"
    4XX

    4XX

    Result
    "{\n    \"_s\": -000,\n    \"_e\": \"Error message\"\n}"

    What's Next