Update a billing group
Billing Groups
Update Billing Group
Updates billing group settings. Can add/remove rentals, change billing day, or update name.
PATCH
Update a billing group
Overview
Update a billing group’s settings, add or remove subscriptions, or change the billing day. Use this to manage consolidated B2B billing as customer needs change.Updatable Fields
| Field | Description |
|---|---|
groupName | Display name |
rentalIds | Array of subscription IDs (replaces existing) |
billingDay | Day of month for billing (1-28) |
status | active or inactive |
Example: Add Subscription to Group
Example: Change Billing Day
Example: Rename Group
Common Operations
Add New Subscription
Remove Subscription
Deactivate Group
Error Handling
| Error Code | Cause | Solution |
|---|---|---|
NOT_FOUND | Group doesn’t exist | Verify billing group ID |
SUBSCRIPTION_NOT_FOUND | Invalid subscription in array | Verify all subscription IDs |
SUBSCRIPTION_DIFFERENT_CUSTOMER | Subscription belongs to different customer | Only include same-customer subscriptions |
Related Endpoints
- Get Billing Group - View current state
- Delete Billing Group - Remove group
- List Subscriptions - Find subscriptions to add
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Path Parameters
The billing group ID
Body
application/json