Remove products from the campaign

    Remove products from the campaign


    Article summary

    Delete
    /v2/{accessKey}/campaign/{campaignKey}/product
    Header parameters
    Authorization
    stringRequired

    Authorization: Bearer

    Path parameters
    accessKey
    stringRequired

    Customer access key

    campaignKey
    stringRequired

    Campaign key

    Body parameters
    Array of object
    object
    productId
    integer (int64)

    Automatically generated unique product ID

    customerProductId
    string

    Customer's product ID and must be unique(defined by the customer).

    Responses
    200

    200

    Result
    "{\n    \"results\": [\n      \t{\n            \"productId\": 1234\n            \"message\": null,\n            \"status\": \"SUCCESS\"\n        }\n        {\n            \"productId\": 1235\n            \"message\": \"The product has already been removed.\",\n            \"status\": \"FAIL\"\n        }\n    ],\n    \"successCount\": 1,\n    \"warnCount\": 0,\n    \"failCount\": 1,\n    \"totalCount\": 2\n}"
    4XX

    4XX

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