younifyd
Menu

Update Measured Unit

Update a measured unit

PUT/measured_units/{measured_unit_id}

Use it in a workflow

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

Request

Path parameters

measured_unit_idstringrequired

Measured unit ID or name. For ID no prefix is used e.g. `e28zov4fw0v2`. For name use prefix `name-`, e.g. `name-Storage`.

Request body

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

namestring

Unique internal name of the measured unit on your site.

display_namestring

Display name for the measured unit.

descriptionstring

Optional internal description.

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

Response

Returns 200 with an object. Read it in later steps with {{updateMeasuredUnit.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.