younifyd
Menu

Update Subscription

Update a subscription

PUT/subscriptions/{id}

Use it in a workflow

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

Request

Path parameters

idinteger (int64)required

The unique identifier of the resource.

Request body

Enter the body as JSON in the step's Body field.

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
{
  "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"
}

Response

Returns 200 with a any. Read it in later steps with {{updateSubscription.response.data.<field>}}.

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

Was this page helpful?