Skip to main content

Get an Account Membership

GET 

/v2/accounts/:accountID/account-memberships/:membershipID

Get an account membership from an account in your store.

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

Request

Path Parameters

    accountID stringrequired

    The unique identifier of the account that the account member is associated with.

    membershipID stringrequired

    The unique identifier of the account membership to update the details of the account member.

Query Parameters

    include string

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

Responses

OK

Schema
    data AccountMembershipResponse
    id string

    Represents the unique identifier for the account membership.

    type string

    Default value: account_membership

    Represents the type of the object returned.

    meta object
    timestamps object
    created_at string

    The date the account is created.

    updated_at string

    The date the account is updated.

    relationships object
    account_member object
    data object
    id string

    Specifies the ID of the account member.

    type string

    Default value: account_member

    Specifies the type of the account member.

    links object
    self uri

    A URL to the specific resource.

Loading...