younifyd
Menu

Create An Entry Relationship

Create an Entry Relationship

POST/v2/flows/{flowSlug}/entries/{flowEntryID}/relationships/{flowFieldSlug}

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Create An Entry Relationship action (under Flows).
  3. Fill in the fields below, then reference the result from later steps as {{createAnEntryRelationship.response.data}}.

Request

Path parameters

flowSlugstringrequired

The slug of the flow/template that the entry belongs to.

flowFieldSlugstringrequired

The slug of the field/attribute that the relationship belongs to.

flowEntryIDstringrequired

The ID of the entry you are requesting.

Response

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

dataarray<object>
idstring (uuid)

A unique identifier for a resource.

typestring

Represents the type of object being returned.

json
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "type": "brand"
    }
  ]
}

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

Was this page helpful?
Create An Entry Relationship — Elastic Path — Documentation