Zoho Billing icon

Zoho Billing

Consume Zoho Billing API v1 (Subscriptions, Plans, Addons, Coupons, Invoices)

Plan → Mark As Active

AI-generated

Summary

Reactivates a Zoho Billing plan by its plan code, sending a POST to /plans/{planCode}/markasactive so the plan becomes active again.

Inputs

  • Organization (required) — Zoho Billing organization, chosen from a list loaded from the account's organizations. Sent as the X-com-zoho-subscriptions-organizationid header.
  • Plan Code (required) — Code of the plan to activate. It is inserted directly into the request URL.

Output shape

One output item per input item, containing the JSON response from the Zoho Billing API (usually a code/message result and possibly the updated plan). If the API returns nothing, the item is an empty object.

The request body is empty. Each output item is paired to its input item. With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow. API errors are raised as NodeApiError. The node needs the zohoBillingOAuth2Api credential. The API region is taken from the credential's override URL, the token's api_domain, or the accounts URL.

Examples

Example 1: Re-enable a previously deactivated plan for sale.

Resource: Plan; Operation: Mark As Active; Organization: pick your org; Plan Code: 'basic-monthly'.

Example 2: Activate plans listed in incoming items.

Set Plan Code to the expression {{ $json.plan_code }} so the node runs once per input item.

Links

Discussion