Skip to main content
POST
/
v1
/
customers
/
{customer_id}
/
updateConfig
Update a customer configuration
curl --request POST \
  --url https://api.metronome.com/v1/customers/{customer_id}/updateConfig \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "salesforce_account_id": "0015500001WO1ZiABL"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_id
string<uuid>
required

Body

application/json

The configuration for a specific customer

salesforce_account_id
string | null

The Salesforce account ID for the customer

leave_stripe_invoices_in_draft
boolean | null

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.

Response

Success