Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Update Config

Update a customer configuration
v1.customers.update_config(CustomerUpdateConfigParams**kwargs)
post/v1/customers/{customer_id}/updateConfig

Updates the specified customer's config.

Parameters
customer_idstr
formatuuid
leave_stripe_invoices_in_draftbool
optional

Leave in draft or set to auto-advance on invoices sent to Stripe. Falls back to the client-level config if unset, which defaults to true if unset.

salesforce_account_idstr
optional

The Salesforce account ID for the customer

from metronome import Metronome

client = Metronome(
    bearer_token="My Bearer Token",
)
client.v1.customers.update_config(
    customer_id="d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc",
    salesforce_account_id="0015500001WO1ZiABL",
)