Tariffs
Retrieve tariffs for change
Change tariff for service.Retrieves suitable tariffs list for change from source tariff.
get/admin/tariffs/tariffs-for-change
Request
- Base URL: https://demo.splynx.com/api/2.0
- URL: https://demo.splynx.com/api/2.0/admin/tariffs/tariffs-for-change
- Auth: HTTP basic
Query parameters
service_idnumber double
Example:1
Optional. The ID of the service being changed. When provided, each returned tariff additionally includes minimal_start_date, fee and fee_raw.
sub_idnumber double
Example:1
Optional. Available for the main LBA (Linked Billing Account) customer. When provided, returns tariffs available for the sub-account; the sub-account must belong to the main customer taken from the token.
service_type'internet' | 'voice' | 'custom' required
Service type.
type'internet' | 'voice' | 'custom' required
Tariff type
tariff_idnumber double required
Example:2
The ID of source tariff
idstring required
Example:{tariff_id}
Response
Example response
[
{
"id": 3,
"title": "Tariff title",
"minimal_start_date": "2026-07-10",
"fee": "10.00",
"fee_raw": 10,
"price": "10.30",
"vat_percent": "21.0",
"with_vat": true,
"other_properties": "Other properties",
"hide_on_admin_portal": false,
"show_on_customer_portal": false,
"available_for_locations": [
1
],
"customer_categories": [
"person",
"company"
],
"partners_ids": [
"1"
],
"tax_id": 0,
"service_name": "aplha",
"billing_days_count": 1,
"available_for_services": true,
"billing_types": [
"recurring",
"prepaid",
"prepaid_monthly"
],
"tariffs_for_change": [
0
],
"speed_download": 102400,
"speed_upload": 102400,
"speed_limit_type": "none",
"speed_limit_at": 10,
"speed_limit_fixed_up": 0,
"speed_limit_fixed_down": 0,
"aggregation": 1,
"burst_type": [
"none",
"percent",
"fixed"
],
"burst_limit": 0,
"burst_limit_fixed_up": 0,
"burst_limit_fixed_down": 0,
"burst_threshold": 0,
"burst_threshold_fixed_up": 0,
"burst_threshold_fixed_down": 0,
"burst_time": 0,
"priority": [
"low",
"normal",
"high"
],
"exclude_traffic_classes": [
0
],
"services": 0
}
]Changes
No recorded changes to this operation across all 1 revision of this API.