younifyd
Menu

Update Account Acquisition

Update an account's acquisition data

PUT/accounts/{account_id}/acquisition

Use it in a workflow

  1. Add a step and choose the Recurly connector.
  2. Pick the Update Account Acquisition action (under account_acquisition).
  3. Fill in the fields below, then reference the result from later steps as {{updateAccountAcquisition.response.data}}.

Request

Path parameters

account_idstringrequired

Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`.

Request body

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

costobject
currencystring

3-letter ISO 4217 currency code.

amountnumber (float)

The amount of the corresponding currency used to acquire the account.

channelstring

The channel through which the account was acquired.

One ofadvertisingblogdirect_trafficemaileventsmarketing_contentorganic_searchotheroutbound_salespaid_searchpublic_relationsreferralsocial_media

subchannelstring

An arbitrary subchannel string representing a distinction/subcategory within a broader channel.

campaignstring

An arbitrary identifier for the marketing campaign that led to the acquisition of this account.

acquired_atstring (date-time)

Date the account was first created if different than the account.created_at. ie Importing accounts.

json
{
  "cost": {
    "currency": "string",
    "amount": 0
  },
  "channel": "advertising",
  "subchannel": "string",
  "campaign": "string",
  "acquired_at": "2025-01-01T00:00:00Z"
}

Response

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

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