Skip to main content

Get all Account Memberships

GET 

https://useast.api.elasticpath.com/v2/accounts/:accountID/account-memberships

You can also use include=account_member to retrieve details about the account members associated with the account memberships. With this option, you can get more information about the account members such as name and email in a single request. For more information see including resources.

Filtering

The following operators and attributes are available for filtering account memberships.

OperatorDescription
eqChecks whether the values of two operands are equal. If the values are equal, the condition is true.
likeChecks if the operand contains the specified string. You can use wildcard characters in operand.
AttributeTypeOperatorExample
account_member_idstringeq / likeeq(account_member_id,00000000-0000-1000-8000-0000000)

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/:accountID/account-memberships");
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
— pathrequired
— query
— 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.