younifyd
Menu

Create Measured Unit

Create a new measured unit

POST/measured_units

Use it in a workflow

  1. Add a step and choose the Recurly connector.
  2. Pick the Create Measured Unit action (under measured_unit).
  3. Fill in the fields below, then reference the result from later steps as {{createMeasuredUnit.response.data}}.

Request

Request body

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

namestringrequired

Unique internal name of the measured unit on your site.

display_namestringrequired

Display name for the measured unit.

descriptionstring

Optional internal description.

json
{
  "name": "string",
  "display_name": "string",
  "description": "string"
}

Response

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

idstring
objectstring
namestring

Unique internal name of the measured unit on your site.

display_namestring

Display name for the measured unit. Can only contain spaces, underscores and must be alphanumeric.

statestring

The current state of the measured unit.

One ofactiveinactive

descriptionstring

Optional internal description.

created_atstring (date-time)
updated_atstring (date-time)
deleted_atstring (date-time)
json
{
  "id": "string",
  "object": "string",
  "name": "string",
  "display_name": "string",
  "state": "active",
  "description": "string",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-01T00:00:00Z",
  "deleted_at": "2025-01-01T00:00:00Z"
}

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

Create Measured Unit — Recurly — Documentation