---
title: "Update a subscription on a customer"
method: PATCH
path: "/v1/customer/{customerId}/subscription"
tags: ["customer"]
---

# Update a subscription on a customer

`PATCH /v1/customer/{customerId}/subscription`

## Path parameters

- `customerId` string, required

## Request body

- UpdateSubscription
  - `paymentMethod` string, required — Payment method to create; 'INVOICE' to make subscription paid by invoice, or the ID of the payment method if to make the subscription automatically charge a card

## Response `204`

successful operation

## Other responses

- `400` — invalid data
- `401` — not authorized
- `403` — permission denied
- `404` — not found

---

[API](https://skmtc.net/charthop/apis/charthop-api.md) · [All operations](https://skmtc.net/charthop/apis/charthop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/charthop/charthop-api/revisions/26da34ae934f/schema)
