Skip to main content

Get All Accounts

GET 

https://useast.api.elasticpath.com/v2/accounts

Use this endpoint to Get all accounts.

You can use pagination with this resource. For more information, see pagination.

Filtering

The following operators and attributes are available for filtering accounts:

AttributeTypeOperatorsExample
namestring
  • eq
  • like
like(name,*swan*)
legal_namestring
  • eq
  • like
like(legal_name,*swan*)
registration_idstring
  • eq
  • like
like(registration_id,00000000-0000-1000-8000-*)
external_refstring
  • eq
  • like
like(external_ref,16be*)
idstring
  • eq
  • ge
  • gt
  • le
  • lt
  • in
in(id,"99248259-feea-40c6-b855-f719ee87a539", "363e4505-a2bb-4bc1-b667-2cc9a4de8668")
created_atstring
  • eq
  • ge
  • gt
  • le
  • lt
gt(created_at,"2021-06-02T18:44:07.617Z")
updated_atstring
  • eq
  • ge
  • gt
  • le
  • lt
ge(updated_at,"2021-06-07T18:24:48.149Z")

Request

Responses

OK

Authorization: http

name: BearerTokentype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://useast.api.elasticpath.com/v2/accounts");
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.