pem.orderSubscription (deprecated)

This method is supported by Operations starting from version 2.3.

This deprecated method was used for creation only Shared Hosting subscriptions and will be removed from API in next Operations versions. This method creates a subscription, adds a domain and provisions the subscription in one call.

Instead of calling “pem.orderSubscription”, external billing system shall now call pem.activateSubscription method. Following parameters set should be passed as “parameters” parameter to pem.activateSubscription call for Shared Hosting subscriptions: domain_name, domain_id (optional), registrar_status.

The method has the following input parameters:

Name

Type

Short Description

account_id

int

ID of Account. Indicates the Account, which the Subscription being added/provisioned relates to.

subscription_id

int

The ID of the Subscription to add/provision. This ID is generated by external billing system.

service_template_id

int

Service Template ID. Indicates the existing Service Template, which the Subscription being added/provisioned is based on.

[domain_id}

int

The ID of the Domain to add. This parameter is optional and present here for backward compatibility purposes.

domain_name

string

Name of Domain to add.

registrar_status

int

Indicates the registrar Domain status. It can take the following values:

  • 0. Domain check result is undefined.
  • 1. Domain is not registered.
  • 2. Domain is registered.

The method has no output parameters.

See also:

pem.provisionSubscription method.