cURL
curl --request PUT \ --url https://api.rntor.com/v1/memberships/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Client-ID: <api-key>' \ --data ' { "name": "<string>", "description": "<string>", "cycle": "daily", "price": 123, "currency": "<string>", "custom_tax_rate": true, "tax_rate": 123, "minimum_commitment": true, "commitment_cycles": 123, "expiring_credits": 123, "expiring_day_passes": 123, "discount_rooms": 123, "discount_desks": 123, "discount_equipment": 123, "discount_events": 123, "discount_shop": 123, "discount_credit_packages": 123, "signup_enabled": true, "signup_type": "<string>", "is_active": true, "exclusive_resource_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "Premium Membership", "description": "Full access to all amenities and resources", "cycle": "monthly", "price": 299, "currency": "USD", "custom_tax_rate": false, "tax_rate": 10, "minimum_commitment": false, "commitment_cycles": 12, "expiring_credits": 100, "expiring_day_passes": 5, "discount_rooms": 20, "discount_desks": 15, "discount_equipment": 10, "discount_events": 25, "discount_shop": 10, "discount_credit_packages": 5, "signup_enabled": true, "signup_type": "standard", "is_active": true, "exclusive_resource_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "meta": { "request_id": "req_abc123def456", "timestamp": "2024-01-15T10:30:00Z" } }
Update an existing membership plan
Your API client secret
Your API client ID
daily
weekly
monthly
quarterly
yearly
Membership plan updated
A membership plan template that customers can subscribe to
Show child attributes