---
title: "Update an event"
method: POST
path: "/events/{event_id}"
tags: ["Events"]
---

# Update an event

`POST /events/{event_id}`

Marks an event with the given `event_id` as either **processed** or **unprocessed**.

## Path parameters

- `event_id` string, required

## Request body

- UpdateasingleeventRequest
  - `processed` boolean, required — Indicates whether the event has been processed.

## Response `200`

OK

- EventsUpdateResponse
  - `id` string — Identifier for the event in data array.
  - `processed` boolean — Indicates if this event has been processed.
  - `created` integer — Creation timestamp of the event.
  - `type` string — Type of event.
  - `live` boolean — Indicates if the event occurred in a live environment.
  - `data` object — Detailed data associated with the event.
    - `id` string — Identifier associated with the event.
    - `account` string — Account identifier in the event.
    - `contact` object — Contact details in the event.
      - `first` string — First name of the contact.
      - `last` string — Last name of the contact.
      - `email` string — Email address of the contact.
      - `company` string — Company name associated with the contact.
      - `phone` string — Contact's phone number.
      - `subscribed` boolean — Contact subscription status.
    - `address` object — Address details associated with the account.
      - `addressLine1` string — Address line 1 (e.g., street, PO box, or company name).
      - `addressLine2` string — Address line 2 (e.g., apartment, suite, unit, or building).
      - `city` string — City, district, suburb, town, or village.
      - `country` string — Two-letter country code.
      - `postalCode` string — ZIP or postal code.
      - `region` string — Region code (<a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO 3166-2</a>).
      - `region custom` string — Custom region if not in predefined regions.
      - `company` string — Company or account name.
    - `language` string — Two-letter language code (<a href="https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes">ISO 639</a>).
    - `country` string — Two-letter country code (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>).
    - `lookup` object
      - `global` string — Lookup identifiers for the event.
    - `url` string — FastSpring account URL.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/fastspring/apis/fastspring-api-accounts.md) · [All operations](https://skmtc.dev/fastspring/apis/fastspring-api-accounts/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fastspring/fastspring-api-accounts/revisions/ae2f0b97db3e/schema)
