V2
Schemas
Errors
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | [Error] | false | none |
Error
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | false | none |
| title | string | false | none |
| details | string | false | none |
| ref | string | false | Optional reference URL (used by Netflix) |
WorkflowResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| message | string | false | none |
| workflowId | string | false | none |
| runId | string | false | none |
CreateSubscriptionBody
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| subscriptionId | string | true | The subscriptionId will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled. |
| products | Products | true | List of product identifiers. |
ModifySubscriptionBody
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| products | Products | true | List of product identifiers. |
SuspendSubscriptionBody
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| products | Products | true | List of product identifiers. |
ReactivateSubscriptionBody
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| products | Products | true | List of product identifiers. |
SubscriptionStatus
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| entitled | string | true | Status field indicating whether the subject can watch content. |
| cancellation | string | false | Indicates why a subscription has been canceled. |
| products | Products | true | List of product identifiers. |
| activated | string | true | The status of an active subscription |
| lastUpdated | string(date-time) | true | ISO-8601 timestamp indicating when this subscription was last updated. |
| Property | Values |
|---|---|
| entitled | one of [ACTIVE, BILLING_HOLD, CANCELED, GRACE_PERIOD] |
| cancellation | one of [VOLUNTARY, INVOLUNTARY, PLAN_SWITCHED, ABUSE_REVOCATION, UNKNOWN] |
| activated | one of [LINKED, UNLINKED] |
ActivationUrlRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| products | Products | true | List of product identifiers. |
| country | string | true | none |
| expireDate | string(date-time) | true | ISO-8601 timestamp indicating when the activation will expire |
ActivationUrlResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| expiryDate | string | false | Date when activation URL expires in ISO 8601 format. |
| url | string | true | Activation URL. |
Products
|
|
None
CreateSubscription
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalID | false | Identifier of the subscription on the CRM |
| billing_event_id | BillingEventID | false | Reference identifier used for tracking/reconciliation. Max 1024 bytes. |
| bundle_id | BundleID | true | Describes your bundle offers. Each of your offers should correspond to a unique BundleID. |
| channel | Channel | false | Channel used to sign up for the Bundle. |
| netflix_email | false | Customer’s primary email address (standard email format). | |
| netflix_offer_id | OfferID | true | Pre-agreed UUID for each Netflix plan available in your bundle offers. |
| netflix_phone | Phone | false | E.164 format. +[CountryCode][PhoneNumber] |
| partner_account_id | PartnerAccountId | true | Partner Account Identifier (PAI) to associate a partner account with a Netflix account. |
| partner_charge_country | PartnerChargeCountry | false | Two letter codes that conform to ISO 3166-1 |
| preferred_language | PreferredLanguage | false | Language preferred for contact. |
EnrollDigitalVirgoSubscription
|
|
EnrollDigitalVirgoSubscriptionResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | SubscriptionId | false | Subscription identifier. Corresponds to the Partner Account Identifier (PAI). |
GenerateUrl
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| channel | BundleActivationChannel | false | Channel used to activate the Bundle. |
| partner_charge_country | PartnerChargeCountry | false | Two letter codes that conform to ISO 3166-1 |
| promotion_id | PromotionID | false | PromotionID agreed upon with Netflix. Applies to prepaid promotion integrations. |
| token_error_url | TokenErrorURL | true | URL where Netflix can redirect the user when token is invalid. |
| type | TokenType | true | The token type indicates the purpose of the token and its intended usage. |
| validity_duration_in_seconds | ValidityDurationInSeconds | false | For ACCOUNT_RECOVERY token type only. Up to 24 hours. |
GenerateUrlResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| expiry_date | TokenExpiryDate | false | Date when token expires in ISO 8601 format. |
| token | Token | false | Token value is a unique identifier based on UUID |
| requested_securitized_url | RequestedSecuritizedUrl | false | RequestedSecuritizedUrl use token value to reference a Netflix url |
GetSubscriptionStatusResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| has_partner_mop | boolean | false | none |
| product_type | string | false | none |
| subscription | Subscription | false | none |
| bundle | Bundle | false | none |
Subscription
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| plan | Plan | false | none |
Plan
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| localized_type | string | false | none |
| type | string | false | none |
Bundle
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | false | none |
| offer_id | string | false | none |
| status | string | false | none |
FetchSubscriptionEventsResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| events | [SubscriptionEvent] | false | List of zero or more Event objects that are relevant to the time period defined by startTimestamp and endTimestamp |
| next_page_offset | string | false | A value to retrieve subsequent pages for the same period. |
Suspend
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalID | false | Identifier of the subscription on the CRM |
| suspend_event_id | string | true | Partner-provided reference identifier for the suspend event. |
| reason | string | true | none |
Reactivate
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalID | false | Identifier of the subscription on the CRM |
| reactivate_event_id | string | true | Partner-provided reference identifier for the reactivate event. |
UpdateSubscription
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalID | false | Identifier of the subscription on the CRM |
| billing_event_id | BillingEventID | false | Reference identifier used for tracking/reconciliation. Max 1024 bytes. |
| bundle_id | BundleID | false | Describes your bundle offers. Each of your offers should correspond to a unique BundleID. |
| channel | Channel | false | Channel used to sign up for the Bundle. |
| netflix_email | false | Customer’s primary email address (standard email format). | |
| netflix_offer_id | OfferID | false | Pre-agreed UUID for each Netflix plan available in your bundle offers. |
| netflix_phone | Phone | false | E.164 format. +[CountryCode][PhoneNumber] |
| partner_charge_country | PartnerChargeCountry | false | Two letter codes that conform to ISO 3166-1 |
| preferred_language | PreferredLanguage | false | Language preferred for contact. |
ExternalID
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Identifier of the subscription on the CRM |
BillingEventID
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Reference identifier used for tracking/reconciliation. Max 1024 bytes. |
BundleActivationChannel
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Channel used to activate the Bundle. |
BundleID
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Describes your bundle offers. Each of your offers should correspond to a unique BundleID. |
Channel
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Channel used to sign up for the Bundle. |
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Customer’s primary email address (standard email format). |
OfferID
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Pre-agreed UUID for each Netflix plan available in your bundle offers. |
PartnerAccountId
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Partner Account Identifier (PAI) to associate a partner account with a Netflix account. |
PartnerChargeCountry
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Two letter codes that conform to ISO 3166-1 |
Phone
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | E.164 format. +[CountryCode][PhoneNumber] |
Pai
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Pai number to identify subscription. |
PreferredLanguage
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Language preferred for contact. |
PromotionID
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | PromotionID agreed upon with Netflix. Applies to prepaid promotion integrations. |
SubscriptionEvent
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| bundle_id | BundleID | false | Describes your bundle offers. Each of your offers should correspond to a unique BundleID. |
| event_type | string | false | Type of subscription event. |
| netflix_event_id | string | false | Unique ID per event (useful for deduplication). |
| netflix_offer_id | OfferID | false | Pre-agreed UUID for each Netflix plan available in your bundle offers. |
| original_netflix_transaction_id | string | false | Depends on event type. See API docs. |
| partner_account_id | PartnerAccountId | false | Partner Account Identifier (PAI) to associate a partner account with a Netflix account. |
| partner_reference_id | string | false | Depends on event type. See API docs. |
| timestamp | integer(int64) | false | Time in seconds since UNIX epoch when event occurred. |
SubscriptionEventType
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Subscription event type |
SubscriptionId
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Subscription identifier. Corresponds to the Partner Account Identifier (PAI). |
Token
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Token value is a unique identifier based on UUID |
RequestedSecuritizedUrl
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | RequestedSecuritizedUrl use token value to reference a Netflix url |
TokenErrorURL
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | URL where Netflix can redirect the user when token is invalid. |
TokenExpiryDate
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Date when token expires in ISO 8601 format. |
TokenType
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | The token type indicates the purpose of the token and its intended usage. |
ValidityDurationInSeconds
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | integer(int32) | false | For ACCOUNT_RECOVERY token type only. Up to 24 hours. |
EndTimestamp
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | integer(int64) | false | Timestamp (UNIX epoch seconds) to filter events before a specific time. |
StartTimestamp
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | integer(int64) | false | Timestamp (UNIX epoch seconds) to filter events on or after a specific time. |