---
title: "Change Package"
method: PATCH
path: "/api/customers/{id}"
tags: ["Customers"]
---

# Change Package

`PATCH /api/customers/{id}`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/customers/{id}`
- Auth: HTTP bearer

PATCH /api/customers/:customerPublicId

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string: Blank keeps the current name.
  - `email` string
  - `status` 'active' | 'inactive': inactive pauses every monitor of the customer.
  - `packageType` string
  - `packageId` union
    - integer
    - string
  - `monthlyReportsEnabled` boolean
  - `emailLanguage` 'de' | 'en' | 'da', nullable
  - `customFields` object
  - `companyName` string, nullable
  - `notificationEmail` string, nullable
  - `notificationPhoneNumber` string, nullable
  - `notificationChannels` object, nullable: Deprecated; send null.
  - `notificationTargets` object, nullable: Who receives each channel type: customer or organization; null = organization default.
  - `allowSelfService` boolean, nullable
  - `maxSelfServiceUrls` union
    - integer
    - string
  - `canEditManaged` boolean
  - `enableEmailAlerts` boolean, nullable
  - `enableSmsAlerts` boolean, nullable
  - `enableWebhookAlerts` boolean, nullable
  - `enableIntegrationAlerts` boolean, nullable
  - `enablePostRequestEscalation` boolean, nullable

## Response `200`

OK

- object
  - `id` integer, required
  - `publicId` string, uuid, required
  - `organizationId` integer, required
  - `name` string, required
  - `email` string, nullable, required
  - `notificationPhoneNumber` string, nullable, required
  - `notificationEmail` string, nullable, required
  - `companyName` string, nullable, required
  - `packageId` integer, nullable, required
  - `status` 'active' | 'inactive', required
  - `monthlyReportsEnabled` boolean, required
  - `emailLanguage` 'de' | 'en' | 'da', nullable, required: Language of mails to this customer; null = organization language.
  - `customFields` object, nullable, required
  - `notificationChannels` object, nullable, required
  - `notificationTargets` object, nullable, required: Who receives each channel type; null = organization default.
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `404`: No such resource, or not visible to this token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
