---
title: "Update a pass [Beta]"
method: PATCH
path: "/passes/{passId}"
---

# Update a pass [Beta]

`PATCH /passes/{passId}`

Use this endpoint to update a pass using ID. Only a single property can be updated during one request.

## Path parameters

- `passId` integer, required

## Headers

- `Content-Type` string

## Request body

- object
  - `expiresAt` integer — Expiration time in UNIX timestamp format. For non-expiring (permanent) passes it must be set to `null`.
  - `externalProperties` object — Any external properties of a pass. Payload is limited to 4000 characters.
    - `property1` string — Example property

## Response `200`

200

- object
  - `passId` integer
  - `customerId` integer
  - `status` string
  - `offerId` string
  - `expiresAt` unknown
  - `paymentMethodId` integer
  - `externalId` string
  - `externalProperties` object
  - `isExternallyManaged` boolean
  - `source` string

## Other responses

- `400` — 400
- `404` — 404

---

[API](https://skmtc.net/cleeng/apis/mediastore-api.md) · [All operations](https://skmtc.net/cleeng/apis/mediastore-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cleeng/mediastore-api/versions/00cbfe7998a4/schema)
