younifyd
Menu

Manage Subscription Plans

Manage subscription plans

PUT/v2/subscriptions/subscriptions/{subscription_uuid}/plans

Use it in a workflow

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

Request

Path parameters

subscription_uuidstring (uuid)required

The unique identifier of the subscription.

Request body

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

dataarray<object>required

A list of plan IDs to manage on the subscription.

typestringrequired

One ofdetach

plansarray<string (uuid)>required
json
{
  "data": [
    {
      "type": "detach",
      "plans": [
        "11111111-2222-3333-4444-555555555555"
      ]
    }
  ]
}

Response

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

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

Manage Subscription Plans — Elastic Path — Documentation