Get all Account Members
GEThttps://useast.api.elasticpath.com/v2/account-members
Get all account members contained within your store.
Filtering
The following operators and attributes are available for filtering account members.
Attribute | Type | Operator | Example |
---|---|---|---|
email | string | eq / like | eq(email,ronswanson@example.com) |
name | string | eq / like | like(name,*swan*) |
Request
Query Parameters
page[limit] int64
The number of records per page.
page[offset] int64
Possible values: <= 10000
The number of records to offset the results by.
sort string
Supported attributes are created_at
, email
, id
, name
, or updated_at
. When specified, the results are sorted in ascending order based on the value of the field. To sort in descending order, prefix the attribute with -
, for example, -updated_at
. The default sort order is created_at
in descending order. For more information, see Sorting.
filter string
Specifies the filter attributes.
Responses
- 200
- 401
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
data object[]
meta object
links object
{
"data": [
{
"id": "908f7849-60da-4e4a-a3b1-51d4cbe3b953",
"type": "account_member",
"name": "Ron Swanson",
"email": "ron@swanson.com",
"meta": {
"timestamps": {
"created_at": "2021-02-23T09:40:33.882Z",
"updated_at": "2021-02-23T09:40:33.882Z"
}
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/account-members/908f7849-60da-4e4a-a3b1-51d4cbe3b953"
}
}
],
"meta": {
"page": {
"limit": 25,
"current": 0,
"offset": 0,
"total": 1
},
"results": {
"total": 1
}
},
"links": {
"current": "https://useast.api.elasticpath.com/v2/account-members?page[offset]=0&page[limit]=25",
"first": "https://useast.api.elasticpath.com/v2/account-members?page[offset]=0&page[limit]=25",
"last": "https://useast.api.elasticpath.com/v2/account-members?page[offset]=0&page[limit]=25",
"next": null,
"prev": null
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- unauthorized-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Unauthorized",
"status": "401"
}
]
}
Internal server error.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Internal server error
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}
Authorization: http
name: BearerTokentype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://useast.api.elasticpath.com/v2/account-members' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear