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

# Update a pass \[Beta\]

`PATCH /passes/{passId}`

## Request

- Base URL: `https://api.sandbox.cleeng.com/3.1`
- URL: `https://api.sandbox.cleeng.com/3.1/passes/{passId}`
- Auth: API key in header `X-Publisher-Token`

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.dev/cleeng/apis/api-31.md) - [All operations](https://skmtc.dev/cleeng/apis/api-31/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/api-31/revisions/df55396cda4f?raw)
