GET netflix/subscriptions/show

Available from CRM.COM R12.0.0

This method returns the status and additional billing information related with netflix subscriptions .  Multiple netflix subscriptions are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

billing_system_customer_identifier

(semi-optional)

StringThe identifier of the customer as defined in the billing system managed by the caller

netflix_customer_identifier

(semi-optional)

StringThe identifier of the customer as defined on netflix (PAI)

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

Restrictions

  • N/A

Response Data

Name

Type

Description

subscription_number

String

The number of the subscription as defined in CRM.COM

netflix_sate

String

The state of the subscription on Netflix which can be one of the following:

  • EFFECTIVE
  • NOT_EFFECTIVE
life_cycle_stateString

The life cycle state of the CRM.COM subscription that can be one of the following:

  • EFFECTIVE
  • NOT_EFFECTIVE
  • CANCELLED
promotions_setSet of Netflix PromotionsThe Netflix promotions redeemed against the given Identifier(s) in the last 10 months
prices_setSet of Netflix PricesThe Netflix prices that were applied on that subscriber


Referred Objects Response Data

 Netflix Promotions Response Data

Name

Type

Description

code

String

The code of the retrieved promotion

name

String

The name of the retrieved promotion

description

String

The description of the retrieved promotion

effective_from

Date

The date that the retrieved promotion becomes effective

expires_on

Date

The date that the retrieved promotion expires

 Netflix Prices Response Data

Name

Type

Description

FormattedPrice

String

A displayable price value with currency formatted using the Netflix supported local currency and language

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

     {"data":{"netflix_state":"EFFECTIVE","promotions_set":[],"subscription_number":"93","prices_set":[],"life_cycle_state":"EFFECTIVE"},"status":{"code":"OK","description":"","message":""}}