---
title: "Update a marketing event"
method: PUT
path: "/marketing/events/{id}"
tags: ["Admin Marketing: Communications"]
---

# Update a marketing event

`PUT /marketing/events/{id}`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/marketing/events/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/marketing/events/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a marketing event

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `description` string
  - `date` string

## Response `200`

Marketing event updated.

## Other responses

- `400`: Invalid input
- `404`: Marketing event not found.
- `422`: Validation failure.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
