Update the billing profile
Replaces the billing profile. The update writes the whole profile, so send every field you want to keep. contact_email takes an array of one or more addresses.
tax_id_number is required when the profile reports tax_id_number_required: true, which is the case on Enterprise spaces. On a postpay space, monthly_invoices is locked on and false is rejected with monthly_invoices_locked; the profile reports this as monthly_invoices_locked: true so a client does not have to infer it.
Permissions
Authenticate with a Personal access token whose holder is an owner or admin of the space. A project API token is not accepted on this endpoint, and a Personal access token has no scopes: the holder's role in the space is the whole authorization decision.
Request body
Example request
{
"address_line1": "1234 Main St",
"address_line2": "Suite 200",
"address_city": "Austin",
"address_state": "TX",
"address_zip": "78701",
"address_country": "US",
"company_name": "Acme Inc",
"contact_name": "Jane Doe",
"contact_email": [
"jane@example.com",
"billing@example.com"
],
"contact_phone": "+15125550100",
"tax_id_number": "12-3456789"
}Response
The request has succeeded.
Example response
{
"type": "billing_profile",
"address_line1": "1234 Main St",
"address_line2": "Suite 200",
"address_city": "Austin",
"address_state": "TX",
"address_zip": "78701",
"address_country": "US",
"company_name": "Acme Inc",
"contact_name": "Jane Doe",
"contact_email": [
"jane@example.com",
"billing@example.com"
],
"contact_phone": "+15125550100",
"tax_id_number": "12-3456789"
}Changes
Changed in 1 of the 161 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 161 revisions, 3 have a changelog that could not be searched.