Get all Entries
GEThttps://euwest.api.elasticpath.com/v2/flows/:flowSlug/entries
- For Commerce, this endpoint retrieves all entries for a flow.
- For Product Experience Manager, this endpoint retrieves all entries for a template.
Request
Path Parameters
flowSlug stringrequired
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 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 store setting is used.
Responses
- 200
- 400
- 404
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
- default
Schema
data object[]
{
"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"
}
}
}
]
}
{
"data": [
{
"id": "ce1f0b19-23c3-487b-aa2a-552b77abdf0c",
"type": "entry",
"brand-image": "https://files-eu.epusercontent.com/e8c53cb0-120d-4ea5-8941-ce74dec06038/61118f21-14a2-466c-a84b-c30b1f900cf9.png",
"meta": {
"owner": "organization",
"timestamps": {
"created_at": "2018-06-05T20:58:25.596Z",
"updated_at": "2018-06-05T20:58:25.596Z"
}
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/flows/brands/entries/ce1f0b19-23c3-487b-aa2a-552b77abdf0c"
}
},
{
"id": "a5fcf6bc-233f-44d7-a3b0-0961eed3df9d",
"type": "entry",
"brand-image": "some image for brand x",
"meta": {
"owner": "organization",
"timestamps": {
"created_at": "2018-06-06T14:48:59.006Z",
"updated_at": "2018-06-06T14:48:59.006Z"
}
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/flows/brands/entries/a5fcf6bc-233f-44d7-a3b0-0961eed3df9d"
}
}
]
}
Bad request. The request failed validation.
- application/json
- Schema
- Example (from schema)
- missing-name
Schema
errors Error[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred.",
"request_id": "00000000-0000-0000-0000-000000000000",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"title": "Validation Error",
"status": 400,
"detail": "data.attributes.name: \"name\" is required"
}
]
}
Bad request. Not Found.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred.",
"request_id": "00000000-0000-0000-0000-000000000000",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"title": "Not Found",
"status": 404
}
]
}
Bad request. The request failed validation.
- application/json
- Schema
- Example (from schema)
- missing-name
Schema
errors Error[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred.",
"request_id": "00000000-0000-0000-0000-000000000000",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"title": "Validation Error",
"status": 400,
"detail": "data.attributes.name: \"name\" is required"
}
]
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"status": 500,
"title": "Internal server error",
"detail": "An internal error has occurred.",
"request_id": "00000000-0000-0000-0000-000000000000",
"meta": {
"missing_ids": [
"e7d50bd5-1833-43c0-9848-f9d325b08be8"
]
}
}
]
}
{
"errors": [
{
"status": 500,
"title": "Internal Server Error",
"detail": "There was an internal server error, you can report with your request id.",
"request_id": "635da56d-75a1-43cd-b696-7ab119756b3a"
}
]
}
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://euwest.api.elasticpath.com/v2/flows/:flowSlug/entries' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear