Skip to main content

List customer memberships belonging to the executing user

GET/customer-memberships/
v2
GET
customer-list-customer-memberships

Request

Responses

Response headers

  • X-Pagination-Limitinteger
  • X-Pagination-Pageinteger
  • X-Pagination-Skipinteger
  • X-Pagination-TotalCountinteger
application/json

OK

  • Array[
    • *object
      • avatarRefstring (uuid)

        Avatar file reference id of the user.

      • customerIdstring (uuid)
        required

        ID of the Customer the CustomerMembership is for.

      • emailstring (email)
        required

        Email used by the invited user.

      • expiresAtstring (date-time)

        Time the CustomerMembership should expire at.

      • firstNamestring
        required

        First name of the user.

      • idstring (uuid)
        required

        ID of the CustomerMembership.

      • inviteIdstring (uuid)

        ID of the CustomerInvite the membership was created from.

      • lastNamestring
        required

        Last name of the user.

      • memberSincestring (date-time)

        Date the CustomerMembership was created at.

      • mfaboolean
        required

        MFA activated by the user.

      • rolestring (one of: notset, owner, member, accountant)
        required
      • userIdstring (uuid)
        required

        ID of the user the CustomerMembership is for.

    ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/customer-memberships?limit=50&page=1&hasExpiry=true&role=notset