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

# Update customer billing app data

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

## Path parameters

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

## Request body

- UpsertAppCustomerDataRequest — AppCustomerData upsert request.
  - `stripe` object — Used if the customer has a linked Stripe app.
    - `customer_id` string — The Stripe customer ID used.
    - `default_payment_method_id` string — The Stripe default payment method ID.
    - `labels` object — Labels for this Stripe integration on the customer.
  - `external_invoicing` object — Used if the customer has a linked external invoicing app.
    - `labels` object — Labels for this external invoicing integration on the customer.

## Response `200`

AppCustomerData upsert response.

- BillingAppCustomerData — App customer data.
  - `stripe` object — Used if the customer has a linked Stripe app.
    - `customer_id` string — The Stripe customer ID used.
    - `default_payment_method_id` string — The Stripe default payment method ID.
    - `labels` object — Labels for this Stripe integration on the customer.
  - `external_invoicing` object — Used if the customer has a linked external invoicing app.
    - `labels` object — Labels for this external invoicing integration on the customer.

## Other responses

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

---

[API](https://skmtc.net/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/versions/f920f418f552/schema)
