Set the quantity of a Limitation Feature (write)
set_feature_current_quantitySet a customer's limitation feature quantity to an absolute value, replacing the current amount with the provisioned seats, projects, or users for accurate billing.
Instructions
WRITE. Sets the current quantity of a Limitation Feature of a customer to an absolute value -- seats, projects, users. Send the quantity the application has provisioned, the seats bought and not the seats occupied: that is what ProAbono bills on. The value is absolute, so sending it twice is harmless, which is why this write takes no increment. Limitation Features only; use add_feature_consumption for a metered Feature and set_feature_enabled for an OnOff one. Quote it first with quote_usage_change when it is billable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_stamp | No | When the change happened, ISO 8601 in UTC. Defaults to now. A future date is not supported. | |
| feature_ref | Yes | Shared reference of the Feature (ReferenceFeature). | |
| customer_ref | Yes | Shared reference of the customer. | |
| subscription_id | No | Which subscription the Usage belongs to. Needed when the customer has several running. | |
| quantity_current | Yes | The absolute quantity now provisioned. Replaces the current value. |