HomeProduct DocsAPI ReferenceChangelog
RecurlyAPI GuidesRecurly.jsWebhooksAPI ReferenceSupportBook demo
API Reference

Update Account

Updates an existing account.

Please note

You may optionally include billing information when updating an account. If the billing information is provided, the billing information will be validated. The account will only be updated if the billing information is valid.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Account's unique code.

Body Params
string

The account code of the new parent account. Allows associating a new account to an existing account as its child. Sending an empty <parent_account_code> tag will remove an associated parent account from an existing account

string

The username for the account, ignore if you do not use usernames. Max of 255 characters.

string

The email address for the account.

string

The first name for the account. Max of 255 characters.

string

The last name for the account. Max of 255 characters.

string

The company name for the account. Max of 50 characters.

string

The VAT number to avoid having the VAT applied (if applicable).

boolean

The tax status of the account. true exempts tax on the account, false applies tax on the account.

string

The Avalara AvaTax value that can be passed to identify the customer type for tax purposes. The range of values can be A - R (more info at Avalara). Value is case-sensitive.

account_acquisition
object

The nested account acquisition information: cost_in_cents, currency, channel, subchannel, campaign`

billing_info
object

The nested billing information. If present, the account will only be created after the billing information is validated.

address
object

The nested address information for the account: address1, address2, city, state, zip, country, phone.

string

The ISO 639-1 language code from the user's browser, indicating their preferred language and locale.

string

Additional email address that should receive account correspondence. These should be separated only by commas. These CC emails will receive all emails that the email field also receives.

string

Used to determine the language and locale of emails sent on behalf of the merchant to the customer. The list of locales is restricted to those the merchant has enabled on the site.

string

Used to determine the time zone of emails sent on behalf of the merchant to the customer. Must be a supported IANA time zone name

string

Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to generate invoices for the account.

string

Unique ID to identify a dunning campaign. Available when the Dunning Campaigns feature is enabled. Used to specify if a non-default dunning campaign should be assigned to this account. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used.

string

Unique ID to identify the business entity assigned to the account. Available when the Multiple Business Entities feature is enabled.

custom_fields
array of objects

The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.

Custom Fields
Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/xml