# Update a campaign Endpoint: PUT /campaigns/{id} Version: 8.1.0 ## Path parameters: - `id` (string, required) The campaign's id to update ## Header parameters: - `X-Key` (string, required) A unique API key used to authenticate requests to the NP6 platform. This key must be included in every API call to validate the identity and permissions of the client. Keep your API key secure and do not expose it in public code or logs. ## Request fields (application/json): - `id` (string) Defines the id of the campaign - `name` (string) Defines the name of the campaign - `description` (string) Defines the description of the campaign - `startDate` (string) The start date of the campaign - `endDate` (string) The end date of the campaign - `creationDate` (string) The creation date of the campaign - `updateDate` (string) The update date of the campaign - `items` (array) Defines the items of the campaign - `items.type` (string) ## Response 200 fields (application/json): - `id` (string) Defines the id of the campaign - `name` (string) Defines the name of the campaign - `description` (string) Defines the description of the campaign - `startDate` (string) The start date of the campaign - `endDate` (string) The end date of the campaign - `creationDate` (string) The creation date of the campaign - `updateDate` (string) The update date of the campaign - `items` (array) Defines the items of the campaign - `items.type` (string) ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields ## Response 411 fields