Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

This method is used to create a new subscription by identifying an existing or new subscriber and the subscription services or installed items that should be added on the subscription. A single subscription can be created by each call

...

Name

Type

Description

token

String

The token retrieved from the login method

business_classification_code

(mandatory)

String Defines if the subscription should be created as draft or effective. The allowed options are CREATE_ACTIVATE_SUBSCRIPTION or CREATE_DRAFT_SUBSCRIPTION

action_type_identifier

(optional)

Subscription action type identifier

The action type that should be used. The allowed subscription action type identifier fields are the following:

Include Page
V4:subscription_action_type_identifier
V4:subscription_action_type_identifier


Tip

Deprecated from CRM.COM R15.0.0


sub_action_type_identifier

(optional)

Subscription sub action type identifier

The sub action type that should be used. The allowed subscription sub action type identifier fields are the following:

Include Page
V4:subscription_sub_action_type_identifier
V4:subscription_sub_action_type_identifier

Tip

Deprecated from CRM.COM R15.0.0


classification_identifier

(optional)

Subscription Action Classification Identifier

The subscription action's classification. The allowed subscription action classification identifier fields are the following:

Include Page
V4:subscription_action_classification_identifier
V4:subscription_action_classification_identifier

Tip

Available from CRM.COM R18.0.0


performed_by_user_identifier

(optional)

User identifier

 The user that actually performed the action. The allowed user identifier fields are the following:

Include Page
V4:user_identifier
V4:user_identifier

payment_gateway_card_identifier

(optional)

Payment Gateway Card Identifier

The payment gateway card that will be used to post a payment against the accounts receivable of the subscription. Applicable and required only for Subscriptions following the "Pay before bill" payment model. The applicable payment gateway card identifier fields are the following:

Include Page
V4:payment_gateway_card_identifier
V4:payment_gateway_card_identifier

Tip

Available from CRM.COM R14.3.0


billing_effective_date

(optional)

DateDetermines when the subscription services that are affected by the subscription action should be billed by the billing engine.

billable_period_start_date

(optional)

DateDetermines the start date of the billable period of each subscription service  (it answers to the question “from which date should I start billing this service) that is affected by the subscription action.

performed_on

(optional)

DateThe date that the action was actually performed

promo_code

(optional)

String

The effective, not expired promo code that can be redeemed, providing an Ad Hoc Discount to the Subscription. The promo code is validated against its related promotion campaign's settings and its related ad hoc discount definition settings in order to be provided.

Tip

Available from CRM.COM R14.2.0


require_verification

(optional)

Boolean

Determines whether the Subscription and Subscription Action will require fulfillment through a Job

Tip

Available from CRM.COM R15.1.0


udf_string_1 

(optional)

String

User Defined Field of type String

udf_string_2 

(optional)

String

User Defined Field of type String

udf_string_3 

(optional)

String

User Defined Field of type String

udf_string_4 

(optional)

String

User Defined Field of type String

udf_string_5

(optional)

String

User Defined Field of type String

udf_string_6 

(optional)

String

User Defined Field of type String

udf_string_7

(optional)

String

User Defined Field of type String

udf_string_8

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1 

(optional)

Date

User Defined Field of type Date

udf_date_2 

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

custom_field_set

(optional)

Set of Custom Fields

The custom fields that are associated with the subscription

If no records are specified in the set then nothing will be updated. To add or update a value on a custom field use the custom field name as configured in CRM.COM along with the respective value. To remove a value from a custom field use the custom field name as configured in CRM.COM along with an empty value

Code Block
languagejavascript
themeConfluence
linenumberstrue
"custom_field_set": [
	{"field_name_1" : "value_1"},
	{"field_name_2" : "value_2"}
]


Tip

Available from CRM.COM R16.2.0


subscription

(mandatory)

Subscription objectInformation related with the subscription that should be created.

services_set

(mandatory)

Set of subscription service objects

The services that will be added on the subscription. The set is optional if the business classification code is set to CREATE_DRAFT_SUBSCRIPTION. Otherwise, if the option is set to CREATE_ACTIVATE_SUBSCRIPTION, the set is mandatory.

Tip

From CRM.COM R14.0.0 onwards, if the Subscription's Type is of classification Package then any Services added on the Subscription are considered as Additional Services.


installed_items_set

(optional)

Set of subscription installed item objects

The installed items that might be needed to be added on the subscription in order to be allowed to add the required services

provisioning_distributor_labels_set

(optional)

Set of subscription provisioning distributor label objects

The labels that will be applied on the specified provisioning distributor for that specific subscription. Each provisioning distributor can be labeled only once per subscription. At least one service or installed item should be distributed to each provisioning distributor which is specified in that set

Tip

Available from CRM.COM R13.0.0


Tip

Deprecated from CRM.COM R15.0.0


expenses_set

(optional)

Set of Subscription Expenses Objects

The expenses that will be added on the subscription

Tip

Available from CRM.COM R14.5.0


fields_set

(optional)

List of Strings, comma separated 

 A list of fields that should be included in the results. If not specified then all the available fields will be returned

Tip

Available from CRM.COM R10.0.0


Anchor
subscription_create referred objects parameters
subscription_create referred objects parameters
Referred Parameter Objects Data

...