younifyd
Menu

Get Subscription

Retrieve a subscription

GET/subscriptions/{id}

Use it in a workflow

  1. Add a step and choose the Recharge connector.
  2. Pick the Get Subscription action (under Subscriptions).
  3. Fill in the fields below, then reference the result from later steps as {{getSubscription.response.data}}.

Request

Path parameters

idinteger (int64)required

The unique identifier of the resource.

Response

Returns 200 with an object. Read it in later steps with {{getSubscription.response.data.<field>}}.

subscriptionobject
idinteger (int64)
customer_idinteger (int64)
address_idinteger (int64)
statusstring

One ofactivecancelledexpired

product_titlestring
quantityinteger
pricestring
next_charge_scheduled_atstring (date)
order_interval_unitstring

One ofdayweekmonth

order_interval_frequencystring
created_atstring (date-time)
updated_atstring (date-time)
json
{
  "subscription": {
    "id": 0,
    "customer_id": 0,
    "address_id": 0,
    "status": "active",
    "product_title": "string",
    "quantity": 0,
    "price": "string",
    "next_charge_scheduled_at": "2025-01-01",
    "order_interval_unit": "day",
    "order_interval_frequency": "string",
    "created_at": "2025-01-01T00:00:00Z",
    "updated_at": "2025-01-01T00:00:00Z"
  }
}

Need more? See the Recharge guide for connection setup and behaviour shared by every action.