younifyd
Menu

Get All Entries

Get all Entries

GET/v2/flows/{flowSlug}/entries

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Get All Entries action (under Flows).
  3. Fill in the fields below, then reference the result from later steps as {{getAllEntries.response.data}}.

Request

Path parameters

flowSlugstringrequired

The slug for the flow/template you want to create an entry for.

Query parameters

page[limit]string

The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the [**page length**](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used.

page[offset]string

The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the [**page length**](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used.

filterstring

Filter resources using the filter query parameter. See [**Filtering**](/guides/Getting-Started/filtering).

Response

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

dataarray<object>
idstring (uuid)

A unique identifier for a resource.

typestring

Represents the type of object being returned.

linksobject1 fields

Link to the current resource.

metaobject2 fields
relationshipsobject

Dynamic relationship fields keyed by field slug.

linksobject

Pagination links returned on list responses. | Property | Description | | --- | --- | | `current` | Always the current page | | `first` | Always the first page | | `last` | `null` if there is only one page. | | `previous` | `null` if you are on the first page. | | `next` | `null` if there is only one page. |

currentstring
firststring
laststring | null
nextstring | null
previousstring | null
metaobject

Pagination metadata returned on list responses.

pageobject4 fields
resultsobject1 fields
json
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "type": "entry",
      "links": {
        "self": "https://euwest.api.elasticpath.com/v2/flows/d2a9b22a-b4b0-456b-bbc7-d8723aaffa84"
      },
      "meta": {
        "owner": "enum",
        "timestamps": {
          "created_at": "2023-10-11T13:02:25.293Z",
          "updated_at": "2023-10-11T13:02:25.293Z"
        }
      },
      "relationships": {}
    }
  ],
  "links": {
    "current": "https://euwest.api.elasticpath.com/v2/flows?page[offset]=0&page[limit]=100",
    "first": "https://euwest.api.elasticpath.com/v2/flows?page[offset]=0&page[limit]=100",
    "last": "https://euwest.api.elasticpath.com/v2/flows?page[offset]=0&page[limit]=100",
    "next": null,
    "previous": null
  },
  "meta": {
    "page": {
      "limit": 100,
      "offset": 0,
      "current": 1,
      "total": 1
    },
    "results": {
      "total": 5
    }
  }
}

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

Was this page helpful?