mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation updates a specific Customer Membership in the mittwald mStudio API. It allows modifying details such as the membership's expiration time and role within the customer context. This is useful for managing user access levels or membership durations programmatically, for example, extending a customer's membership expiry or changing their role from "Member" to "Owner".

Properties

Name Meaning
Customer Membership Id The unique identifier of the Customer Membership to update.
Expires At The new expiration time for the Customer Membership (optional).
Role The role assigned to the Customer Membership. Options: Notset, Owner, Member, Accountant.

Output

The node outputs JSON data representing the updated Customer Membership object returned by the mittwald mStudio API. This typically includes fields such as the membership ID, updated expiration date, role, and possibly other metadata related to the membership.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de and expects JSON content-type headers.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Invalid Customer Membership Id: If the provided ID does not exist or is malformed, the API will likely return an error. Verify the ID before running the node.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
  • Invalid role value: Only the specified roles ("notset", "owner", "member", "accountant") are accepted. Using any other value will cause an error.
  • Date format issues: The "Expires At" field should be in a valid datetime string format accepted by the API; otherwise, the update may fail.

Links and References

Discussion