put https://api.zenoti.com/v1/guests//memberships//renewal?guest_id&user_membership_id
This API allows you to change or cancel the membership renewal of a guest.
error Object
Message | Code | Description |
---|---|---|
Invalid price | ME027 | If the is_list_price is "true" and discount_price is present, OR, if the is_list_price is "false" and discount_price is not present, you will see this message. |
Guest membership doesn't have renewal_membership_id as auto-renewal option. | ME029 | When incorrect renewal membership id is mentioned. |
Renewal Membership can't be changed from other center | ME028 | When an employee renews the membership in a different center (different to the membership sale center). Note: Allow actions on invoices from other centers setting is turned off. |
Usermembership doesn't belong to this guest | ME026 | When usermembershipid does not belong to the guest. |
Cannot change auto renewal for this membership status | ME031 | When membership status of the guest is cancelled, expired, closed, upgrade, or downgrade. |