Edit Inventory List

PUT {{campaign_url}}/inventoryLists/:id

Edit an existing inventory list

You can edit settings for an existing inventory list by sending this PUT request. To update list settings, open the body tab to edit the JSON object. See POST New Inventory List documentation for information on field definitions and allowed values.

The following fields cannot be edited:

  • inventoryUsage
  • inclusionUsage
  • workflowStatus: To update an inventory list's status, send a PUT Update Inventory List Status request.

For information on obtaining the inventory list's id, see GET Existing Inventory List documentation.

Request Body

{"name"=>"doc test site list - updated", "content"=>["mySite2.com", "mySite3.com"], "includeSubdomain"=>false, "workflowStatus"=>"approved"}