## Update Config `client.V1.Customers.UpdateConfig(ctx, params) error` **post** `/v1/customers/{customer_id}/updateConfig` Updates the specified customer's config. ### Parameters - **params:** `V1CustomerUpdateConfigParams` - **CustomerID:** `param.Field[string]` Path param: - **LeaveStripeInvoicesInDraft:** `param.Field[bool]` Body param: 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. - **SalesforceAccountID:** `param.Field[string]` Body param: The Salesforce account ID for the customer ### Example ```go package main import ( "context" "github.com/Metronome-Industries/metronome-go" "github.com/Metronome-Industries/metronome-go/option" ) func main() { client := metronome.NewClient( option.WithBearerToken("My Bearer Token"), ) err := client.V1.Customers.UpdateConfig(context.TODO(), metronome.V1CustomerUpdateConfigParams{ CustomerID: metronome.F("d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"), SalesforceAccountID: metronome.F("0015500001WO1ZiABL"), }) if err != nil { panic(err.Error()) } } ```