cURL
curl --request PATCH \ --url https://api-eu.flexportal.io/v1/billing-groups/{billingGroupId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Tenant-ID: <tenant-id>' \ --data ' { "groupName": "<string>", "billingDay": 14, "rentalIds": [ "<string>" ], "notes": "<string>", "status": "active" } '
{ "success": true, "message": "<string>", "billingGroup": { "billingGroupId": "<string>", "tenantId": "<string>", "customerId": "<string>", "groupName": "<string>", "billingDay": 14, "totalMonthlyAmount": 1, "currency": "<string>", "status": "active", "createdBy": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "rentalIds": [], "activeRentalCount": 0, "notes": "<string>" } }
Updates billing group settings. Can add/remove rentals, change billing day, or update name.
API key obtained from FlexPortal dashboard
Your tenant identifier
The billing group ID
1
1 <= x <= 28
active
inactive
Billing group updated
true
false
Show child attributes
x >= 0
3