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

Update Config

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

Updates the specified customer's config.

Parameters
customer_idString
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_idString
optional

The Salesforce account ID for the customer

require "metronome_sdk"

metronome = MetronomeSDK::Client.new(bearer_token: "My Bearer Token")

result = metronome.v1.customers.update_config(customer_id: "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc")

puts(result)