younifyd
Menu

Get V2 Account Members Account Member Id Account Memberships

Get a List of Account Memberships of Account Member

GET/v2/account-members/{accountMemberId}/account-memberships

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Get V2 Account Members Account Member Id Account Memberships action (under Accounts).
  3. Fill in the fields below, then reference the result from later steps as {{getV2AccountMembersAccountMemberIdAccountMemberships.response.data}}.

Request

Path parameters

accountMemberIdstring (uuid)required

The ID of the account member for which you want to list the memberships.

Query parameters

filterstring (string)

Specifies the filter attributes.

includestring

Parameter to retrieve more information about any related resources like accounts.

sortstring

Specifies the order in which account memberships will be returned. For more information, see [Sorting](/guides/Getting-Started/sorting).

One ofcreated_at-created_atid-idupdated_at-updated_at

Response

Returns 200 with an object. Read it in later steps with {{getV2AccountMembersAccountMemberIdAccountMemberships.response.data.<field>}}.

dataarray<any>
metaobject
pageobject4 fields
resultsobject1 fields
linksobject
currentstring (uri)

Always the current page.

firststring (uri)

Always the first page.

laststring (uri)

Always `null` if there is only one page.

nextstring

Always `null` if there is only one page.

prevstring

Always `null` if the user is on the first page.

json
{
  "data": [
    null
  ],
  "meta": {
    "page": {
      "limit": 25,
      "current": 0,
      "offset": 0,
      "total": 1
    },
    "results": {
      "total": 1
    }
  },
  "links": {
    "current": "https://useast.api.elasticpath.com/v2/accounts/5b495058-9ffc-4b9b-810a-c9d43ffc6500/account-memberships?page[offset]=0&page[limit]=25",
    "first": "https://useast.api.elasticpath.com/v2/accounts/5b495058-9ffc-4b9b-810a-c9d43ffc6500/account-memberships?page[offset]=0&page[limit]=25",
    "last": "https://useast.api.elasticpath.com/v2/accounts/5b495058-9ffc-4b9b-810a-c9d43ffc6500/account-memberships?page[offset]=0&page[limit]=25",
    "next": null,
    "prev": null
  }
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.