Change Package
PATCH /api/customers/:customerPublicId
Change Package
PATCH /api/customers/:customerPublicId
Changes the customer's package assignment.
This uses the same endpoint as Update Customer — you usually send packageId.
Legacy packageType values are still accepted for backward compatibility.
Authentication
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
Request Body
{
"packageId": 12
}
Example Request
curl -X PATCH "$BASE_URL/api/customers/6bfec6f6-245a-47ce-843b-157d97d56f88" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"packageId": 12
}'
Example Response
{
"id": 101,
"publicId": "6bfec6f6-245a-47ce-843b-157d97d56f88",
"organizationId": 1,
"name": "Customer A GmbH",
"email": "contact@customer-a.de",
"notificationPhoneNumber": null,
"notificationEmail": null,
"packageId": 12,
"status": "active",
"monthlyReportsEnabled": true,
"customFields": {},
"notificationChannels": null,
"notificationTargets": null,
"updatedAt": "2026-02-26T19:37:00.000Z"
}
Common Errors
400Invalid Customer identifier401Unauthorized403Forbidden / Organization ID not found404Customer not found500Failed to update customer