Transfer campaign to parent

    Transfer campaign to parent


    Article summary

    Put
    /v2/{accessKey}/campaign/{campaignKey}/transferToParent

    Transfer the campaign to the parent from the seller

    Header parameters
    Authorization
    stringRequired

    Authorization: Bearer

    Path parameters
    accessKey
    stringRequired

    Customer access key

    campaignKey
    stringRequired

    Campaign key

    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\": null\n}"
    4XX

    4XX

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