OpenMeter Customers

Update customer billing app data

Changed on
put/openmeter/customers/{customerId}/billing/app-data

Request

  • Base URL: http://localhost:8888/api/v3
  • URL: http://localhost:8888/api/v3/openmeter/customers/{customerId}/billing/app-data
  • Auth: none declared

Path parameters

customerIdstring required

ULID (Universally Unique Lexicographically Sortable Identifier).

Example:01G65Z755AFWAKHE12NY0CQ9FH

Request body

Example request

{
  "stripe": {
    "customer_id": "cus_1234567890",
    "default_payment_method_id": "pm_1234567890",
    "labels": {
      "env": "test"
    }
  },
  "external_invoicing": {
    "labels": {
      "env": "test"
    }
  }
}

Response

AppCustomerData upsert response.

Example response

{
  "stripe": {
    "customer_id": "cus_1234567890",
    "default_payment_method_id": "pm_1234567890",
    "labels": {
      "env": "test"
    }
  },
  "external_invoicing": {
    "labels": {
      "env": "test"
    }
  }
}

Changes

    • breaking

      the request property type changed from no type to object

    • breaking

      the request property type changed from no type to object

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response's property type changed from no type to object for status

    • breaking

      the response's property type changed from no type to object for status

    • info

      the request property became nullable

    • info

      the request property became nullable