Tariffs

Change tariff

Change tariff for service.Change tariff for the given service.

put/admin/tariffs/change-tariff/{service_id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/tariffs/change-tariff/{service_id}
  • Auth: HTTP basic

Path parameters

service_idnumber double required
Example:1

The ID of the desired Service.

Query parameters

service_type'internet' | 'voice' | 'custom' required

Service type.

typestring required
Example:{service_type}

Request body

newTariffIdnumber

New tariff plan ID.

newServicePricenumber

Optional. Override service price.

targetDatestring

Date when the new tariff should take effect. Format: YYYY-MM-DD.

descriptionstring

Optional. Service description after change.

sub_idnumber

Optional. Direct sub-account ID a main (linked-billing) account acts on behalf of. Honored only when the access token belongs to the main account that owns this sub: the sub must belong to the authenticated main and the targeted service must belong to that sub. For any other customer token the request is rejected with a not-found error. Ignored for admin tokens (they target the service owner directly).

Changes

No recorded changes to this operation across all 1 revision of this API.