Get Subscription

chargebee.get_subscription
ActionCRM & salesconnection required

Calls the Chargebee API with the connection's credentials.

Retrieve one subscription by its Chargebee id.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Chargebee
Secret shape
the site API key: the raw string, {"api_key": "…"}, or the HTTP Basic pair {"username": "<api key>", "password": ""}
Config it needs
site, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
subscription_id
The Chargebee subscription id.
stringYes———

Output

One shape.

result

FieldTypeExample
subscription
The subscription resource as Chargebee returned it.
object—
customer
The customer the subscription belongs to.
object—
card
The card on the customer, when one is on file.
object—
{
  "card": {},
  "customer": {},
  "subscription": {}
}

Notes

  • The Chargebee site and API key come from the connection; every path below is relative to https://<site>.chargebee.com/api/v2.
  • GET /subscriptions/{subscription-id}

See Get Subscription run in a workflow.

In a technical demo we add the Chargebee connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.