MasSubscriptionsSubscriptionCreationService
- production
- staging
- Authentication
- Bearer · JWT
About this API
I am MasSubscriptions Subscription Creation Service. My intention is to provide a set of REST services for migrating subscriptions into existing subscriptions databases.
Resources 9
- Health 2 endpoints
Health check endpoints for monitoring service availability
- Credit Limits 2 endpoints
Credit limit migration endpoints for subscriptions
- Segments 2 endpoints
Segment migration endpoints for subscriptions
- Max Subscriptions 2 endpoints
Max streaming subscription migration endpoints
- Disney Subscriptions 2 endpoints
Disney streaming subscription migration endpoints
- Amazon Prime Subscriptions 2 endpoints
Amazon Prime streaming subscription migration endpoints
- Netflix Subscriptions 2 endpoints
Netflix streaming subscription migration endpoints
- Device Insurance Subscriptions 2 endpoints
Device insurance subscription migration endpoints
- AgileTv Subscriptions 2 endpoints
AgileTv subscription migration endpoints
MasSubscriptionsSubscriptionCreationService
- production
- staging
- Authentication
- Bearer · JWT
About this API
I am MasSubscriptions Subscription Creation Service. My intention is to provide a set of REST services for migrating subscriptions into existing subscriptions databases.
Resources 9
- Health 2 endpoints
Health check endpoints for monitoring service availability
- Credit Limits 2 endpoints
Credit limit migration endpoints for subscriptions
- Segments 2 endpoints
Segment migration endpoints for subscriptions
- Max Subscriptions 2 endpoints
Max streaming subscription migration endpoints
- Disney Subscriptions 2 endpoints
Disney streaming subscription migration endpoints
- Amazon Prime Subscriptions 2 endpoints
Amazon Prime streaming subscription migration endpoints
- Netflix Subscriptions 2 endpoints
Netflix streaming subscription migration endpoints
- Device Insurance Subscriptions 2 endpoints
Device insurance subscription migration endpoints
- AgileTv Subscriptions 2 endpoints
AgileTv subscription migration endpoints
Health
Health check endpoint
/health No authentication Authentication
Returns the health status of the Subscription Creation service and its dependencies (database connectivity).
Responses
Service is healthy
-
persistencestringDatabase connectivity status
-
globalstringOverall service health status
Service is unhealthy
-
persistencestringDatabase connectivity status
-
globalstringOverall service health status
Health
Readiness check endpoint
/ready No authentication Authentication
Returns the readiness status of the Subscription Creation service. Used by Kubernetes to determine if the service is ready to receive traffic.
Responses
Service is ready
-
persistencestringDatabase connectivity status
-
globalstringOverall service health status
Service is not ready
-
persistencestringDatabase connectivity status
-
globalstringOverall service health status
Credit Limits
Migrate credit limits for a subscription
/orgs /{org} /migrations /subscriptions /{legacy_id} /credit_limits Authenticated with a bearer token in the Authorization header Authentication
Creates credit limits for a subscription identified by legacy_id. This is a migration endpoint that creates initial credit limit data.
Path parameters
orgstringRequiredOrganization name (tenant)
legacy_idinteger (int32)RequiredLegacy subscription ID (Integer from V1 database)
Request body application/json Required
-
subscription_typestring RequiredType of subscription
-
credit_limitsobject[] RequiredArray of credit limits to create
-
credit_limit_idstring RequiredType of credit limit
-
credit_limit_valuenumber (double) RequiredCredit limit value in currency units
-
reasonstring RequiredReason for setting this credit limit
-
Responses
Credit limits created successfully
No body.
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Credit Limits
Delete subscription credit limits
/orgs /{org} /migrations /subscriptions /{legacy_id} /credit_limits Authenticated with a bearer token in the Authorization header Authentication
Deletes subscription credit limits for a subscription identified by legacy_id. This is a rollback endpoint for credit limits migration.
Path parameters
orgstringRequiredOrganization name (tenant)
legacy_idstringRequiredLegacy subscription ID
Responses
Credit limits deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Segments
Create subscription segment
/orgs /{org} /migrations /subscriptions /{legacy_id} /segments Authenticated with a bearer token in the Authorization header Authentication
Creates a subscription segment for a subscription identified by legacy_id. This is a migration endpoint that creates initial segment data.
Path parameters
orgstringRequiredOrganization name (tenant)
legacy_idstringRequiredLegacy subscription ID
Request body application/json Required
-
segment_idstring RequiredSegment type identifier. Any non-empty identifier is accepted; DEVICEOFFERSEGMENT is a known identifier.
-
segment_valuestring RequiredSegment value. It must start with OM for postpaid mobile and mobile bundles, OP for prepaid mobile, or OC for non-mobile bundles.
-
reasonstring RequiredReason for segment creation
Responses
Segment created successfully
No body.
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Segments
Delete subscription segment
/orgs /{org} /migrations /subscriptions /{legacy_id} /segments Authenticated with a bearer token in the Authorization header Authentication
Deletes subscription segment(s) for a subscription identified by legacy_id. This is a rollback endpoint for segment migration.
Path parameters
orgstringRequiredOrganization name (tenant)
legacy_idstringRequiredLegacy subscription ID
Responses
Segment deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Max Subscriptions
Migrate Max subscription
/orgs /{org} /migrations /subscriptions /max Authenticated with a bearer token in the Authorization header Authentication
Creates a Max subscription with all related entities (promotions, commitments, bundle history). This is a migration-only endpoint that bypasses fraud validation and event generation.
Path parameters
orgstringRequiredOrganization name (tenant)
Request body application/json Required
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredMax subscription specific data for migration
-
service_idstring RequiredMax internal ID that identifies the subscription
-
product_idstring RequiredMax product ID according to catalog definition
-
Responses
Max subscription created successfully
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredMax subscription specific data for migration
-
service_idstring RequiredMax internal ID that identifies the subscription
-
product_idstring RequiredMax product ID according to catalog definition
-
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Max Subscriptions
Rollback Max subscription migration
/orgs /{org} /migrations /subscriptions /max /{id} Authenticated with a bearer token in the Authorization header Authentication
Deletes a migrated Max subscription and all related entities (promotions, commitments, history). This endpoint is used exclusively for migration rollback purposes.
Path parameters
orgstringRequiredOrganization name (tenant)
idstring (uuid)RequiredSubscription UUID
Responses
Max subscription deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Disney Subscriptions
Migrate Disney subscription
/orgs /{org} /migrations /subscriptions /disney Authenticated with a bearer token in the Authorization header Authentication
Creates a Disney subscription with all related entities (promotions, commitments, bundle history). This is a migration-only endpoint that bypasses fraud validation and event generation.
Path parameters
orgstringRequiredOrganization name (tenant)
Request body application/json Required
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredDisney subscription specific data for migration
-
user_idstring RequiredDisney internal ID that identifies the user
-
service_idstring RequiredDisney internal ID that identifies the subscription
-
product_idstring RequiredDisney product ID according to catalog definition
-
Responses
Disney subscription created successfully
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredDisney subscription specific data for migration
-
user_idstring RequiredDisney internal ID that identifies the user
-
service_idstring RequiredDisney internal ID that identifies the subscription
-
product_idstring RequiredDisney product ID according to catalog definition
-
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Disney Subscriptions
Rollback Disney subscription migration
/orgs /{org} /migrations /subscriptions /disney /{id} Authenticated with a bearer token in the Authorization header Authentication
Deletes a migrated Disney subscription and all related entities (promotions, commitments, history). This endpoint is used exclusively for migration rollback purposes.
Path parameters
orgstringRequiredOrganization name (tenant)
idstring (uuid)RequiredSubscription UUID
Responses
Disney subscription deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Amazon Prime Subscriptions
Migrate Amazon Prime subscription
/orgs /{org} /migrations /subscriptions /amazon Authenticated with a bearer token in the Authorization header Authentication
Creates an Amazon Prime subscription with all related entities (promotions, commitments, bundle history). This is a migration-only endpoint that bypasses fraud validation and event generation.
Path parameters
orgstringRequiredOrganization name (tenant)
Request body application/json Required
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredAmazon Prime subscription specific data for migration
-
entitlement_idstring RequiredAmazon Prime entitlement ID
-
bundle_idstring RequiredAmazon Prime bundle ID
-
tier_idstring RequiredAmazon Prime tier ID
-
product_idstring RequiredAmazon Prime product ID according to catalog definition
-
Responses
Amazon Prime subscription created successfully
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredAmazon Prime subscription specific data for migration
-
entitlement_idstring RequiredAmazon Prime entitlement ID
-
bundle_idstring RequiredAmazon Prime bundle ID
-
tier_idstring RequiredAmazon Prime tier ID
-
product_idstring RequiredAmazon Prime product ID according to catalog definition
-
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Amazon Prime Subscriptions
Rollback Amazon Prime subscription migration
/orgs /{org} /migrations /subscriptions /amazon /{id} Authenticated with a bearer token in the Authorization header Authentication
Deletes a migrated Amazon Prime subscription and all related entities (promotions, commitments, history). This endpoint is used exclusively for migration rollback purposes.
Path parameters
orgstringRequiredOrganization name (tenant)
idstring (uuid)RequiredSubscription UUID
Responses
Amazon Prime subscription deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Netflix Subscriptions
Migrate Netflix subscription
/orgs /{org} /migrations /subscriptions /netflix Authenticated with a bearer token in the Authorization header Authentication
Creates a Netflix subscription with all related entities (promotions, commitments, bundle history). This is a migration-only endpoint that bypasses fraud validation and event generation.
Path parameters
orgstringRequiredOrganization name (tenant)
Request body application/json Required
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredNetflix subscription specific data for migration
-
user_idstring RequiredNetflix internal ID that identifies the user
-
service_idstring RequiredNetflix internal ID that identifies the subscription
-
product_idstring RequiredNetflix product ID according to catalog definition
-
Responses
Netflix subscription created successfully
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredNetflix subscription specific data for migration
-
user_idstring RequiredNetflix internal ID that identifies the user
-
service_idstring RequiredNetflix internal ID that identifies the subscription
-
product_idstring RequiredNetflix product ID according to catalog definition
-
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Netflix Subscriptions
Rollback Netflix subscription migration
/orgs /{org} /migrations /subscriptions /netflix /{id} Authenticated with a bearer token in the Authorization header Authentication
Deletes a migrated Netflix subscription and all related entities (promotions, commitments, history). This endpoint is used exclusively for migration rollback purposes.
Path parameters
orgstringRequiredOrganization name (tenant)
idstring (uuid)RequiredSubscription UUID
Responses
Netflix subscription deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Device Insurance Subscriptions
Migrate Device Insurance subscription
/orgs /{org} /migrations /subscriptions /device-insurance Authenticated with a bearer token in the Authorization header Authentication
Creates a Device Insurance subscription with all related entities (promotions, commitments, bundle history). This is a migration-only endpoint that bypasses fraud validation and event generation.
Path parameters
orgstringRequiredOrganization name (tenant)
Request body application/json Required
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredDevice Insurance subscription specific data for migration
-
insured_device_idstring (uuid) RequiredUUID of the insured device
-
legacy_device_idintegerLegacy device ID for migration purposes
-
provider_service_idstring RequiredExternal insurance provider service identifier
-
Responses
Device Insurance subscription created successfully
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredDevice Insurance subscription specific data for migration
-
insured_device_idstring (uuid) RequiredUUID of the insured device
-
legacy_device_idintegerLegacy device ID for migration purposes
-
provider_service_idstring RequiredExternal insurance provider service identifier
-
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Device Insurance Subscriptions
Rollback Device Insurance subscription migration
/orgs /{org} /migrations /subscriptions /device-insurance /{id} Authenticated with a bearer token in the Authorization header Authentication
Deletes a migrated Device Insurance subscription and all related entities (promotions, commitments, history). This endpoint is used exclusively for migration rollback purposes.
Path parameters
orgstringRequiredOrganization name (tenant)
idstring (uuid)RequiredSubscription UUID
Responses
Device Insurance subscription deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
AgileTv Subscriptions
Migrate AgileTv subscription
/orgs /{org} /migrations /subscriptions /agiletv Authenticated with a bearer token in the Authorization header Authentication
Creates an AgileTv subscription with all related entities (promotions, commitments, bundle history). This is a migration-only endpoint that bypasses fraud validation and event generation.
For AgileTv, each entry in devices_related_info.devices must also include serial_number
and mac_address, in addition to the common device requirements.
Path parameters
orgstringRequiredOrganization name (tenant)
Request body application/json Required
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredAgile TV subscription specific data for migration
-
provider_product_idstring RequiredProvider product identifier
-
provider_service_idstring (uuid) RequiredProvider service UUID identifier
-
Responses
AgileTv subscription created successfully
-
idstring (uuid)Unique identifier of the subscription
-
typestringSubscription type
-
statusstring RequiredSubscription status
-
activation_datestring (date-time)Activation date and time.
- Required if status is ACTIVE or DEACTIVATED
- Must be null if status is CANCELLED
-
deactivation_datestring (date-time)Deactivation date and time.
- Required if status is DEACTIVATED
- Must be null if status is ACTIVE and CANCELLED
-
last_status_updatestring (date-time)Last status update date and time
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle
-
last_updated_datestring (date-time)Date and time when any field of the subscription was last updated
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
legacy_account_idinteger RequiredLegacy account id the subscription is linked to
-
account_idstring (uuid)Unique identifier of the account
-
creation_datestring (date-time) RequiredSubscription creation date and time
-
creation_userstringUser who created the subscription, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the subscription
-
deactivation_userstringUser who deactivated the subscription, taken from the mas-stack authentication headers. Only set when deactivation_date is present.
-
deactivation_systemstringSystem that deactivated the subscription (if applicable)
-
add_onsobject[]Ids of subscription applicable add-ons(value added services) according to catalogue definition
-
idstringAdd-on unique identifier
-
catalogue_add_on_idstring RequiredCatalogue add-on ID
-
creation_datestring (date-time) Requiredadd-on creation date
-
creation_systemstringInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstringInfo about the specific user that requested the addON creation, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated
-
statusstring Requiredadd-on status
-
activation_datestring (date-time)add-on activation date
-
deactivation_datestring (date-time)add-on deactivation date
-
deactivation_systemstring -
deactivation_userstringInfo about the specific user that requested the addOn deactivation, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
promotionsobject[]Array of promotions associated to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
-
devices_related_infoobjectInfo about devices associated to the subscription
-
devicesobject[]-
idstring (uuid)Device unique identifier
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstring RequiredDevice id according to catalogue definition
-
shipping_order_idstringId of the shipping order related to the device according to logistic
-
pickup_order_idstringId of the pickup order related to the device according to reverse logistic
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device. Required for AgileTv subscriptions.
-
mac_addressstringA unique identifier assigned to the device network interface controller. Required for AgileTv subscriptions.
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
delivery_infoobjectInfo to grant delivery of devices
-
delivery_typestringDelivery type
-
dealer_codestringDealer the store is associated to. Required if delivery_type is SHOP
-
-
-
bundle_related_infoobject RequiredBundle relation information for subscription migration
-
idstring (uuid)Unique identifier of the bundle the subscription is included in
-
legacy_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredIndicates if subscription is mandatory for the bundle
-
-
promotionsobject[]Array of promotions associated to the subscription
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
creation_datestring (date-time) RequiredPromotion creation date
-
creation_userstringUser who created the promotion, taken from the mas-stack authentication headers (x-auth-origin-sub, falling back to x-auth-sub). Null for service-account calls.
-
creation_systemstringSystem that created the promotion
-
statusstring RequiredPromotion status
-
activation_datestring (date-time)Promotion activation date
-
expiration_datestring (date-time)Promotion expiration date
-
deactivation_datestring (date-time)Promotion deactivation date
-
deactivation_userstringUser who deactivated the promotion, taken from the mas-stack authentication headers. Only set when status is DEACTIVATED.
-
deactivation_systemstringSystem that deactivated the promotion
-
status_detailstringAdditional status details
-
commitmentsobject[]Commitments associated to the promotion
-
idstring (uuid)Acquired commitment id
-
catalogue_idstringCatalogue Commitment ID
-
expiration_datestring (date-time)End date
-
cancellation_datestring (date-time)Cancellation date
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation, taken from the mas-stack authentication headers. Only set when cancellation_date is present.
-
creation_datestring (date-time)Commitment creation date
-
creation_systemstringInfo about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available
-
-
-
bundles_historyobject[]Historical bundle changes for the subscription
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idinteger RequiredLegacy unique identifier of the bundle the subscription is included in
-
last_status_reasonstring RequiredReason for bundle change
-
catalogue_bundled_product_idstring RequiredBundle product ID according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product ID according to catalogue definition
-
catalogue_commercial_product_idstring RequiredCommercial product ID according to catalogue definition
-
start_datestring (date-time) RequiredDate and time when the subscription was added to the bundle
-
end_datestring (date-time) RequiredDate and time when the subscription was removed from the bundle
-
mandatorybooleanIndicates if subscription is mandatory for the bundle
-
-
specific_dataobject RequiredAgile TV subscription specific data for migration
-
provider_product_idstring RequiredProvider product identifier
-
provider_service_idstring (uuid) RequiredProvider service UUID identifier
-
Bad request
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource already exists
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
AgileTv Subscriptions
Rollback AgileTv subscription migration
/orgs /{org} /migrations /subscriptions /agiletv /{id} Authenticated with a bearer token in the Authorization header Authentication
Deletes a migrated AgileTv subscription and all related entities (promotions, commitments, history). This endpoint is used exclusively for migration rollback purposes.
Path parameters
orgstringRequiredOrganization name (tenant)
idstring (uuid)RequiredSubscription UUID
Responses
AgileTv subscription deleted successfully
No body.
Forbidden access
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Resource not found
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-
Internal server error
-
errorobject Required-
codestring RequiredError code
-
messagestring RequiredHuman-readable error message
-
referencestring (uri) RequiredLink to error documentation
-