Skip to main content

Get all Account Members

GET 

https://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.

AttributeTypeOperatorExample
emailstringeq / likeeq(email,ronswanson@example.com)
namestringeq / likelike(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

OK

Schema
    dataobject[]
    meta object
    page object
    limitinteger

    The maximum number of records per page for this response. You can set this value up to 100.

    Example: 25
    currentinteger

    The current page.

    Example: 0
    offsetinteger

    The current offset by number of records, not pages. Offset is zero-based.

    Example: 0
    totalinteger

    The total page count.

    Example: 1
    results object
    totalinteger

    The total number of results after applying filters, if any, or all results.

    Example: 1
    links object
    currenturi

    Always the current page.

    Example: https://useast.api.elasticpath.com/v2/account-members?page[offset]=0&page[limit]=25
    firsturi

    Always the first page.

    Example: https://useast.api.elasticpath.com/v2/account-members?page[offset]=0&page[limit]=25
    lasturi

    Always null if there is only one page.

    Example: https://useast.api.elasticpath.com/v2/account-members?page[offset]=0&page[limit]=25
    nextstring

    Always null if there is only one page.

    Example: null
    prevstring

    Always null if the user is on the first page.

    Example: null

Authorization: http

name: BearerTokentype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://useast.api.elasticpath.com/v2/account-members");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://useast.api.elasticpath.com
Auth
Parameters
— query
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.