younifyd
Menu

Get V2 Accounts Account ID Account Memberships

Get all Account Memberships

GET/v2/accounts/{accountID}/account-memberships

Use it in a workflow

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

Request

Path parameters

accountIDstring (uuid)required

The ID of the account for which you want to get the list of unassigned account members.

Query parameters

filterstring (string)

Specifies the filter attributes.

page[limit]integer (int64)

The number of records per page.

page[offset]integer (int64)

The number of records to offset the results by.

includestring

Parameter to retrieve more information about any related resources like account members.

sortstring

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

One ofcreated_at-created_atupdated_at-updated_atid-id

Response

Returns 200 with an object. Read it in later steps with {{getV2AccountsAccountIdAccountMemberships.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.