Zum Hauptinhalt springen

Get a customer invite

GET/customer-invites/{customerInviteId}/
v2
GET
customer-get-customer-invite

Request

  • customerInviteIdstring
    required

    ID of the CustomerInvite to be retrieved.

Responses

application/json

OK

  • avatarRefIdstring (uuid)

    Reference to the Project's avatar.

  • customerIdstring (uuid)
    required

    ID of the Customer the invite is for.

  • customerNamestring
    required

    Name of the Customer the user is invited to.

  • idstring (uuid)
    required

    ID of the CustomerInvite.

  • informationobject
    required
    • invitationTokenstring

      Token for authentication purposes.

    • invitedBystring (uuid)
      required

      ID of the user that created the invite.

    • userIdstring (uuid)

      ID of the user this invite is for.

  • mailAddressstring (email)
    required

    Mail-address of the user the invite is for.

  • membershipExpiresAtstring (date-time)

    Time the CustomerMembership should expire at.

  • messagestring

    Message contained in the CustomerInvite.

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

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/customer-invites/string