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-Limitnumber
  • X-Pagination-Skipnumber
  • X-Pagination-TotalCountnumber
application/json

OK

  • Array[
  • *object
    • 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.

    • idstring (uuid)
      required

      ID of the CustomerMembership.

    • inviteIdstring (uuid)

      ID of the CustomerInvite the membership was created from.

    • 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