Update a subscriber

Update the contact details of a subscriber, or deactivate it.

Private API key only

Call this endpoint from your server with your private API key in the x-api-key header. A public key is refused with 401 and code 111022.

At least one field is required. token, tokens, subscriber_id, norbr_subscriber_id and merchant_account cannot be changed here. To change the card, see Update the payment method.

Deactivate and reactivate

  • status: inactive pauses all the running subscriptions of the subscriber, with no end date.
  • status: active resumes the subscriptions paused by the deactivation or by a retry policy. The subscriptions you paused yourself stay paused.
  • A subscription whose next rebill would fall after the end date of its offer stays paused.

Result

The response gives the subscriber and subscriptions_touched, the number of subscriptions paused or resumed by the change. See Why a subscription is paused.

Examples

Select a card to show its request and response in the panels on the right. "Update the email" is shown by default.

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

Identifier the platform gives the subscriber.

Body Params
string
Defaults to [email protected]

Email of the subscriber. Must be unique among the subscribers of your merchant account (409 otherwise).

string

First name of the subscriber.

string

Last name of the subscriber.

string

Phone number of the subscriber.

string
enum

inactive pauses all running subscriptions of the subscriber; active resumes those paused by the deactivation or by a retry policy.

Allowed:
Responses

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