Skip to main content

List Memberships belonging to a Customer

GET/customers/{customerId}/memberships/
v2
GET
customer-list-memberships-for-customer

Request

  • customerIdstring
    required

    Customer to list memberships for.

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/customers/string/memberships?limit=50