younifyd
Menu

Put Dunning Campaign Bulk Update

Assign a dunning campaign to multiple plans

PUT/dunning_campaigns/{dunning_campaign_id}/bulk_update

Use it in a workflow

  1. Add a step and choose the Recurly connector.
  2. Pick the Put Dunning Campaign Bulk Update action (under dunning_campaigns).
  3. Fill in the fields below, then reference the result from later steps as {{putDunningCampaignBulkUpdate.response.data}}.

Request

Path parameters

dunning_campaign_idstringrequired

Dunning Campaign ID, e.g. `e28zov4fw0v2`.

Request body

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

plan_codesarray<string>

List of `plan_codes` associated with the Plans for which the dunning campaign should be updated. Required unless `plan_ids` is present.

plan_idsarray<string>

List of `plan_ids` associated with the Plans for which the dunning campaign should be updated. Required unless `plan_codes` is present.

json
{
  "plan_codes": [
    "string"
  ],
  "plan_ids": [
    "string"
  ]
}

Response

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

objectstring
plansarray<object>

An array containing all of the `Plan` resources that have been updated.

json
{
  "object": "string",
  "plans": [
    {}
  ]
}

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