Zum Hauptinhalt springen

Update a customer membership

PATCH/customer-memberships/{customerMembershipId}/
v2
PATCH
customer-update-customer-membership

Request

  • customerMembershipIdstring (uuid)
    required

    ID of the CustomerMembership to be updated.

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X PATCH \
-d '{"expiresAt":"2024-11-21T18:11:36.184Z","role":"notset"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/customer-memberships/f0f86186-0a5a-45b2-aa33-502777496347