Skip to content

Updating accounts #63

@jaanttil

Description

@jaanttil

Based on README, instance.update takes new data as an first argument, but for account this is not true. Instead I need to set new data to account instance, and then call update with callback as first argument.

var account = recurly.Account();
account.id = 'ACCOUNT_ID';
account.email = 'NEW_EMAIL;
account.update(function(err, account)

instead of documented

var account = recurly.Account();
account.id = 'ACCOUNT_ID';
account.update({email: 'NEW_EMAIL'}, function(err, account)

BillingInfo, Plan, Subscription seems to work as documented..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions