Changing customer properties in JSON-RPC API

To change the properties of an existing customer, use the ModifyPartner method.You can change the following properties:

  • Re-assign the customer to another customer
  • Change the service types provided to the customer
  • Set flags to the customer
  • Change the address of the customer
  • Change a trial customer to in production

Customer ID's cannot be changed.

Required parameters

Parameter Description Supported values
partnerInfo A group of parameters related to the partner PartnerInfo (has child parameters of its own see the PartnerInfo child parameters table below)

Optional parameters

Parameter Description Supported values
forceRemoveCustomColumnValuesInOldScope Do you wish to force remove custom column values for the device

bool Boolean

  • True
  • False

Sample request

It is possible to change as much about a customer or as little as you like. Provide the partnerID to select the customer whose information you need to change, then all other parameters entered will be changed to the information sent in the method.

The below example shows the change of name from "Zeus & Sons" to "Zeus And Sons" and limiting the available service types this Customer can provide to it's customers to AllInclusive only.

    "id": "jsonrpc",
    "visa": "{{visa}}",
    "method": "ModifyPartner",
    "jsonrpc": "2.0",
    "params": {
	"partnerInfo": {
		"Id": 12345,
		"Name": "Zeus And Sons",
		"ChildServiceTypes": ["AllInclusive"]

Sample response

    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": null,
    "visa": "{{visa}}"