---
title: "Update customer billing app data"
method: PUT
path: "/openmeter/customers/{customerId}/billing/app-data"
tags: ["OpenMeter Customers"]
---

# Update customer billing app data

`PUT /openmeter/customers/{customerId}/billing/app-data`

## Path parameters

- `customerId` string, required — ULID (Universally Unique Lexicographically Sortable Identifier).

## Request body

- UpsertAppCustomerDataRequest — AppCustomerData upsert request.
  - `stripe` BillingAppCustomerDataStripe — Stripe customer data.
    - `customer_id` string — The Stripe customer ID used.
    - `default_payment_method_id` string — The Stripe default payment method ID.
    - `labels` Labels — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
  - `external_invoicing` BillingAppCustomerDataExternalInvoicing — External invoicing customer data.
    - `labels` Labels — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

## Response `200`

AppCustomerData upsert response.

- BillingAppCustomerData — App customer data.
  - `stripe` BillingAppCustomerDataStripe — Stripe customer data.
    - `customer_id` string — The Stripe customer ID used.
    - `default_payment_method_id` string — The Stripe default payment method ID.
    - `labels` Labels — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
  - `external_invoicing` BillingAppCustomerDataExternalInvoicing — External invoicing customer data.
    - `labels` Labels — Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `410` — Gone

---

[API](https://skmtc.net/openmeterio/apis/openmeter-and-konnect-metering-billing-api.md) · [All operations](https://skmtc.net/openmeterio/apis/openmeter-and-konnect-metering-billing-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmeterio/openmeter-and-konnect-metering-billing-api/versions/9bca44e2d61d/schema)
