Skip to main content

Get a List of Account Memberships of Account Member

GET 

https://useast.api.elasticpath.com/v2/account-members/:accountMemberId/account-memberships

You can also use include=account to retrieve details about the accounts associated with the account memberships. For more information see including resources.

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

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/account-members/:accountMemberId/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
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.