younifyd
Menu

Get Price Segment

Fetch a price segment

GET/price_segments/{price_segment_id}

Use it in a workflow

  1. Add a step and choose the Recurly connector.
  2. Pick the Get Price Segment action (under price_segment).
  3. Fill in the fields below, then reference the result from later steps as {{getPriceSegment.response.data}}.

Request

Path parameters

price_segment_idstringrequired

The price segment ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`.

Response

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

objectstring
idstring

The price segment ID, e.g. `e28zov4fw0v2`.

codestring

The price segment code, e.g. `my-price-segment`.

json
{
  "object": "string",
  "id": "string",
  "code": "string"
}

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

Get Price Segment — Recurly — Documentation