MasCatalogue API
I am MasCatalogue API.
My intention is to provide a set of REST services to support sales and post-sales operations from catalogue perspective.
Resources
| Resource | Description |
|---|---|
| Commercial Products | Access to commercial products |
| Bundled Products | Access to bundled products |
| Bundled Commercial Products | Access to bundled commercial products |
| Free Units Packages | Access to free units packages |
| Promotions | Access to promotions |
| Commercial Devices | Access to commercial devices |
| Rate Plans | Access to rate plans |
| Base profiles and services | Access to base profiles and services associated |
| Value Added Services | Access to value added services |
| Services | Access to services |
| Commercial Infos | Access to commercial infos |
| Transaction types | Access to billing transaction type endpoints |
| Devices | Access to devices endpoints |
| Commercial profiles | Access to commercial profile endpoints |
| Misc services | Access to different endpoints to get configuration definition |
Security
Authentication
All MasStack APIs uses JWT tokens to authorize all the requests. Following this, an Auhtorization with a Bearer JWT token is needed in all the requests.
In the Authorization Guides you can find documentation about JWT Tokens and how to get them in MasStack.
Base URLs
| Environment | Base Path |
|---|---|
| production | https://catalogue.masstack.com/v2/ |
| staging | https://catalogue.sta.masstack.com/v2/ |
Release details
Release Notes
-
2.99.0
- Delete query param
promotional_renewfor the following endpoints:/orgs/{org_id}/commercial_devices/orgs/{org_id}/commercial_devices/sellable
- Delete query param
-
2.98.0
- Add new endpoint
/orgs/{org_id}/value_added_services/{id}/commercial_infosto get commercial infos for value added services
- Add new endpoint
-
2.97.0
- Add field
ean_codetoDeviceResponse
- Add field
-
2.96.0
- Add field
esim_onlytoDeviceResponse
- Add field
-
2.95.0
- Add field
energy_labeltoDeviceResponse
- Add field
-
2.94.0
- Add query param
category_webto/devices/sellableand/devicesendpoints
- Add query param
-
2.93.0
- Add new endpoint endpoint
/orgs/{org_id}/bundled_commercial_products/{bcp_id}/commercial_devices/{cd_id}
- Add new endpoint endpoint
-
2.92.2
- Change query param
dest_bundled_product_idname todestination_bundled_product_id
- Change query param
-
2.92.1
- Fix endpoint
/orgs/{org_id}/devicesnot rendering in developer portal - Add missing
401response/orgs/{org_id}/devices/{device_id}
- Fix endpoint
-
2.92.0
- Remove
/orgs/{org_id}/bundled_products/{id}/provisioning_profilesendpoint - Add
upload_speedanddownload_speedfields toTerritoryOwnerDetailschema - Deprecate
upload_speedanddownload_speedfields inBundledProductBasic_Responseschema - Deprecate
upload_speedanddownload_speedfields ingetBaseProfiles_Responseschema
- Remove
-
2.91.0
- Add query param
target_applicability_ruleto endpoint/orgs/{org_id}/promotions/sellable
- Add query param
-
2.90.3
- Add new query_param
destBundledProductIdto endpoint:/orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{id}/can-switch
- Add new query_param
-
2.90.2
- Rename
refound_transaction_type_idtorefund_transaction_type_idinTransactionTypeschema
- Rename
-
2.90.1
- Update enum values of
SubsTypeName, removeDISNEY+
- Update enum values of
-
2.90.0
- Update enum values of
SubsTypeNameforDISNEYandDISNEY+
- Update enum values of
-
2.89.0
- Add new field
unlimited_durationtoTerms_alone_Responseschema
- Add new field
-
2.88.0
- Add new field
unlimited_durationtoPromotionDetail_Responseschema
- Add new field
-
2.87.0
- Add new query param
permanence_typeto endpoints:/orgs/{org_id}/commercial_devices/orgs/{org_id}/commercial_devices/sellable/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable
- Add new query param
-
2.86.0
- Add new field
refound_transaction_type_idtoTransactionTypeschema
- Add new field
-
2.85.1
- Fix wrong BillingType enum value: “PREPAGO AUTOMATICO” -> “RECARGA AUTOMATICA”
-
2.85.0
- Define new endpoints to get promotion incompatibilities by commercial_product or bundled_commercial_product:
/orgs/{org_id}/commercial_products/{commercial_product_id}/promotions/{promotion_id}/incompatibilities/orgs/{org_id}/bundled_commercial_products/{bcp_id}/promotions/{promotion_id}/incompatibilities
- Define new endpoints to get promotion incompatibilities by commercial_product or bundled_commercial_product:
-
2.84.0
- Add new field
promotional_infotoDevice_Responseschema
- Add new field
-
2.83.0
- Add new subtype
ExcessFeetoFee_Responseschema
- Add new subtype
-
2.82.0
- Update enum values of
BundleCategoryandSubsTypeNameforORANGE_TV_LIBRE
- Update enum values of
-
2.81.0
- Add query param
mandatoryto endpoints:/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/commercial_devices
- Add query param
-
2.80.0
- Add
store_delivery_allowedfield inCommercialProfileschema
- Add
-
2.79.1
- Fix
ValueAddedServiceDetailandValueAddedServiceschemas by addingmax_quantityfield and deprecatingmax_cardinality
- Fix
-
2.79.0
- Add
TVsubscription type - Add new fields in
CommercialProductschema:max_devicesmax_concurrent_views
- Add
-
2.78.0
- Add
permanence_typetoTerms_alone_Response
- Add
-
2.77.0
- Add new fields in FUP responses:
volume_home_sl0volume_home_sl1volume_rlah_sl0volume_rlah_sl1volume_nr_sl0volume_nr_sl1
- Add new fields in FUP responses:
-
2.76.0
- Add
NOT_APPLICABLEtotarget_applicability_ruleandapplicability_modelextensible enums
- Add
-
2.75.0
- Add query param
mysim_service_idto endpoints:/orgs/{org_id}/commercial_products/{id}/value_added_services/orgs/{org_id}/bundled_commercial_products/{id}/value_added_services
- Add query param
-
2.74.0
- Add
binding_type_idtoTermsPromotion_Response
- Add
-
2.73.0
- Remove designer endpoints.
-
2.72.0
- Modify number formats in
BundledProductandFreeUnitsPackageschemas - Add
type[in]andcategory[in]query params inGET /commercial_profiles/{commercial_profile_id}/free_units_packagesendpoint
- Modify number formats in
-
2.71.0
- Add new endpoint
GET /orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/free_units_packages
- Add new endpoint
-
2.70.2
- Remove
FeeGenerationand addFeeSubtypefromtarget_applicability_ruleenum ingetPromoByComProfile_Responseschema - Remove
FEE_GENERATIONand addFEE_SUBTYPEfromtarget_applicability_ruleenum inPromotionschema
- Remove
-
2.70.1
- Rename
provisioning_idasexternal_provisioning_idinCommercialProductschema
- Rename
-
2.70.0
- Add endpoints for CRUD operations of promotion categories:
/orgs/{org_id}/designer/promotion_categories/orgs/{org_id}/designer/promotion_category/{promotion_category_id}
- Add endpoints for CRUD operations of promotion categories:
-
2.69.0
- Modify type of
rate_planandbilling_typefields inCommercialProductschema - Add
provisioning_id,service_class,external_offer_id,external_charging_idandmanual_renewalfields inCommercialProductschema
- Modify type of
-
2.68.0
- Add base_profile query filters in
GET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/commercial_productsendpoint - Add
promotion_category_name[in]andpromotion_type_name[in]query filters inGET
/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/promotionsendpoint - Add
type[in]query filter inGET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/bundled_productsendpoint
- Add base_profile query filters in
-
2.67.1
- Remove prefix
is_on params oftransaction_typeschema
- Remove prefix
-
2.67.0
- Add new endpoint
GET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/bundled_products - Add
BundledProductType, CustomerSegment, BillingType, Technology and SubscriptionTypeenums
- Add new endpoint
-
2.66.2
- Remove
refound_transaction_type_idfrom fields required intransaction_typescreate
- Remove
-
2.66.1
- Remove
iso_languagefromPromotionandCommercialProductschemas
- Remove
-
2.66.0
- Adding new endpoints for CRUD operations of transaction types:
/orgs/{org_id}/designer/transaction_types/orgs/{org_id}/designer/transaction_types/{transaction_type_id}
- Adding new endpoints for CRUD operations of transaction types:
-
2.65.0
- Add
promotion_type_idandpromotion_category_idquery params inGET
/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/promotionsendpoint
- Add
-
2.64.0
- Add new endpoint
/bundled_products/{bp_id}/bundled_commercial_products
- Add new endpoint
-
2.63.1
- Add 409 status code in response of
POSTandPATCHendpoint:/orgs/{org_id}/designer/commercial_profiles/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/commercial_products/{commercial_product_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/free_units_packages/{free_units_package_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/bundled_products/{bundled_product_id}
- Add 409 status code in response of
-
2.63.0
- Add endpoints for CRUD operations of free units package:
/orgs/{org_id}/designer/free_units_package/orgs/{org_id}/designer/free_units_package/{free_units_package_id}
- Add endpoints for CRUD operations of free units package:
-
2.62.0
- Adapting designer to masstack url convention
-
2.61.0
- Deleting bundle_category_id and bundle_type_name from PromotionCanSwitchPromotion
-
2.60.0
- Rename
rate_plan_idfield inCommercialProductschema asrate_plan - Rename
billing_type_idfield inCommercialProductschema asbilling_type - Add endpoints for CRUD operations of bundled products:
/designer/orgs/{org_id}/bundled_products/designer/orgs/{org_id}/bundled_products/{bundled_product_id}
- Rename
-
2.59.0
- Deleting unused endpoint promotions can-switch
/orgs/{org_id}/promotions/{existent_promotion_id}/can-switch/{new_promotion_id}
- Deleting unused endpoint promotions can-switch
-
2.58.0
- Include new SubsType value for Max subscriptions:
MAX
- Include new SubsType value for Max subscriptions:
-
2.57.5
- Rename
id[contains]query param todevice_id[contains]for the/commercial_devicesendpoint
- Rename
-
2.57.4
- Adding
customer_typeto Promotion schema - Adding
customer_typequery param inGET/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotionsendpoint
- Adding
-
2.57.3
- Update description of DELETE
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}endpoint - Update description of DELETE
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}endpoint - Update description of DELETE
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/commercial_products/{commercial_product_id}
endpoint
- Update description of DELETE
-
2.57.2
- Update description of DELETE
/designer/orgs/{org_id}/sale_types/{sale_type_id}endpoint
- Update description of DELETE
-
2.57.1
- Update description of DELETE
/designer/orgs/{org_id}/promotion_types/{promotion_type_id}endpoint
- Update description of DELETE
-
2.57.0
- Add endpoints for commercial products related to commercial profiles:
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/commercial_products/designer/orgs/{org_id}/commercial_products/{commercial_product_id}/commercial_profiles/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/commercial_products/{commercial_product_id}
- Add endpoints for commercial products related to commercial profiles:
-
2.56.0
- Rename
PromotionRelatedRawandPromotionRelatedRawListschemas asPromotionRelatedWithDatesRawandPromotionRelatedWithDatesRawList
respectively - Create
PromotionSoldByCommercialProfileRawListandPromotionSoldByCommercialProfileRawschemas
- Rename
-
2.55.0
- Adding category_name to getPromoByComProfile_Response
-
2.54.1
- Change type of
durationfield inPromotionschema as integer - Rename
term_idfields inPromotionschema ascommitment_idand set as nullable - Remove
external_market_idfield fromPromotionschema and added as field inPromotionRawschema
- Change type of
-
2.54.0
- Adding query params sort, deviceName, deviceModel and deviceColour for paginated commercial devices:
/orgs/{org_id}/commercial_devices
- Adding query params sort, deviceName, deviceModel and deviceColour for paginated commercial devices:
-
2.53.0
- Adding new endpoints for CRUD operations of sale types:
/designer/orgs/{org_id}/sale_types/designer/orgs/{org_id}/sale_types/{sale_type_id}
- Adding new endpoints for CRUD operations of sale types:
-
2.52.0
- Adding new endpoints for CRUD operations of promotion types:
/designer/orgs/{org_id}/promotion_types/designer/orgs/{org_id}/promotion_types/{promotion_type_id}
- Adding new endpoints for CRUD operations of promotion types:
-
2.51.0
- Add endpoint to get promotions sold by commercial profile:
- GET
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions
- GET
- Add endpoint to get promotions sold by commercial profile:
-
2.50.0
- Return
201status code in response of endpoint:- POST
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}
- POST
- Return
-
2.49.0
- Add
category_nameto promotions response for endpoint:/orgs/{org_id}/promotion/{id}
- Add
-
2.48.0
- Add paginated endpoint for commercial devices
/orgs/{org_id}/commercial_devices
- Add paginated endpoint for commercial devices
-
2.47.0
- Add endpoints for promotions related to commercial profiles:
/designer/orgs/{org_id}/promotions/{promotion_id}/commercial_profiles/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}
- Add endpoints for promotions related to commercial profiles:
-
2.46.0
- Add
penalty_referencefield in the response of CommercialProduct
- Add
-
2.45.2
- Add query params in GET
/commercial_profilesenpoint:namestart_date[gt]start_date[gte]start_date[lt]start_date[lte]end_date[gt]end_date[gte]end_date[lt]end_date[lte]
- Return
CommercialProfileRawListschema in GET/commercial_profilesendpoint.
- Add query params in GET
-
2.45.1
- Change query parameter
language_codeto header parameter
- Change query parameter
-
2.45.0
- Add
reduce_penalty_thresholdfield in the response of Promotions
- Add
-
2.44.1
- Add
consolidatedandupdated_atfields in the response body of commercial profile by id.
- Add
-
2.44.0
- Add
skip_first_periodfield in the response body of Promotions
- Add
-
2.43.2
- Add
start_dateandend_datefields in the response body of commercial profile getters.
- Add
-
2.43.1
- Add
start_dateandend_datefields in the request body of commercial profile operations.
- Add
-
2.43.0
- Adding bundled_type to bundled product schemas:
- BundledProduct_Response
- SwitchBundledProduct_Response
- BundledProductBasic_Response
- Endpoints affected:
/orgs/{org_id}/bundled_products/{id}/orgs/{org_id}/bundled_products/orgs/{org_id}/bundled_products/sellable/orgs/{org_id}/bundled_products/{id}/can-switch/orgs/{org_id}/bundled_products/{id}/can-switch/{target_id}
- Adding bundled_type to bundled product schemas:
-
2.42.2
- Include new SubsType value for Amazon subscriptions:
AMAZONPRIME. - Include missing property
mysim_idin ValueAddedService schemas.
- Include new SubsType value for Amazon subscriptions:
-
2.42.1
- Remove wrong encoding in
/designer/orgs/{org_id}/upload_fileendpoint.
- Remove wrong encoding in
-
2.42.0
- Add new query parameter language_code
-
2.41.1
- Update
/designer/orgs/{org_id}/download/{file_name}to return a ResponseBody
- Update
-
2.41.0
- Removing values node from all responses
-
2.40.0
- Adding new endpoints for CRUD operations of commercial profiles:
/designer/orgs/{org_id}/commercial_profiles/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}
- Adding new endpoints for CRUD operations of commercial profiles:
-
2.39.2
- Changed
/designer/orgs/{org_id}/upload_filecontent from csv to multipart/form-data
- Changed
-
2.39.1
- Split swagger difinition into modules (one swagger file for each service)
- Removing unused schemas: Tax and TaxValue
- Removing
ofc-managerAPI (it must be used throughdesigner) - Refactoring several descriptions
-
2.39.0
- Adding is_bundled to bundled commercial product schemas:
- BundledCommercialProductBasic
- BundledCommercialProductDetail
- BundledCommercialProductCanSwitch
- BundledCommercialProduct
- Adding is_bundled to bundled commercial product schemas:
-
2.38.0
- Adding retail_price and discount properties to commercial device schemas CommercialDevice and CommercialDeviceAlone
-
2.37.0
- Adding new endpoint to download file from storage
/designer/orgs/{org_id}/download/{fileName}
- Adding new endpoint to download file from storage
-
2.36.0
- Adding new query param
debit_account_idfor the following endpoints:/orgs/{org_id}/commercial_products/{id}/free_units_packages/orgs/{org_id}/commercial_products/{id}/free_units_packages/sellable
- Adding new query param
-
2.35.0
- Adding new endpoint to upload file to storage
/designer/orgs/{org_id}/upload_file
- Adding new endpoint to upload file to storage
-
2.34.0
- Adding used_for_automatic_orphan_subscription_change to BundledProductSubsTypeDetail and BundledProductSubsTypeBasic. Affected endpoints:
/orgs/{org_id}/bundled_products/{id}/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types
- Adding used_for_automatic_orphan_subscription_change to BundledProductSubsTypeDetail and BundledProductSubsTypeBasic. Affected endpoints:
-
2.33.0
- Adding model_web property to device schema CommercialDevice_device_Response
-
2.32.0
- Example added for endpoint (successful response with promotions) :
/orgs/{org_id}/commercial_devices/sellable
- Example added for endpoint (successful response with promotions) :
-
2.31.0
- Add new optional query param
permanencefor the endpoints:/orgs/{org_id}/commercial_devices/sellable/orgs/{org_id}/commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/value_added_services/{id}/commercial_devices/sellable
- Add new optional query param
-
2.30.0
- Add promotions array to response endpoint :
/orgs/{org_id}/commercial_devices/sellable - Add new LoadType
mandatory_commercial_devices
- Add promotions array to response endpoint :
-
2.29.0
- Remove values array from endpoint :
/orgs/{org_id}/commercial_devices/refinance
- Remove values array from endpoint :
-
2.28.0
- Remove mandatory query param commercial_profile_name for endpoint
/orgs/{org_id}/devices
- Remove mandatory query param commercial_profile_name for endpoint
-
2.27.0
- Including new query params for
endpoint/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_productsnumeration_type_namesale_type_namecommercial_profile_nameinsured_amount- Including new query params for endpoint
/orgs/{org_id}/commercial_products/{id}/free_units_packagessale_type_name
- Including new query params for endpoint
/orgs/{org_id}/commercial_products/{id}/promotionscustomer_type_namesale_type_namenumeration_type_name
- Including new query params for endpoint
/orgs/{org_id}/bundled_commercial_products/{id}/promotionscustomer_type_namesale_type_namenumeration_type_name
- Including new query params for
-
2.26.0
- Include new substype
APPLEWATCH
- Include new substype
-
2.25.0
- Including new query param
promotional_renewfor endpoint/orgs/{org_id}/commercial_devices/sellable
- Including new query param
-
2.24.1
- Minor corrections to endpoint
/orgs/{org_id}/commercial_devices/refinancedescriptions
- Minor corrections to endpoint
-
2.24.0
- New endpoint
/orgs/{org_id}/commercial_devices/refinanceto cover commercial device refinancing functionality
- New endpoint
-
2.23.0
- Including ofc-manager endpoints
/manager/orgs/{org_id}/validationand/manager/orgs/{org_id}/execution/{load_id}
- Including ofc-manager endpoints
-
2.22.0
- Changes in endpoint
/orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{id}/can-switch- Include new query param
used_for_automatic_orphan_subscription_change - Fix response by creating new schema
BundledCommercialProductCanSwitch
- Include new query param
- Fix
BundledCommercialProduct,BundledCommercialProductDetailandBundledCommercialProductBasicschema by addinginvoice_namemissing
attribute
- Changes in endpoint
-
2.21.1
- Include
external_idin BundledProductBasic_Response schema
- Include
-
2.21.0
- Add endpoint : /orgs/{org_id}/free_units_packages
- new value in
LoadSegmentschema
-
2.20.0
- Remove endpoint : /orgs/{org_id}/value_added_services/{id}/commercial_infos
-
2.19.0
- Add
in_catalogue_sinceandin_catalogue_untilfromCommercialDevice_device_Response - New schema
Device_Responsefor extended device characteristics - New values in schema `LoadType'
- Add
-
2.18.1
- Include
is_externalattribute inCommercialDevice_fees_ResponseyFeeInstallmentPlan_Response - Remove
in_catalogue_sinceandin_catalogue_untilfromCommercialDevice_device_Response
- Include
-
2.18.0
- Add new schema Terms_alone_Response
- Remove attributes
fromandtoin CommercialDevicesTerms_Response schema updating terms response
-
2.17.0
- New endpoint: /orgs/{org_id}/free_units_packages/{id}
- New attribute
event_typein FreeUnitsPackage_Response schema - Remove FreeUnitsPackageDetail schema
-
2.16.0
- Remove endpoint : /orgs/{org_id}/commercial_devices/{id}/commercial_infos
-
2.15.0
- Include new attibute used_for_automatic_orphan_subscription_change in BundledProductSubsType Schema
- New query params
used_for_automatic_changes- /orgs/{org_id}/bundled_products/{id}/can-switch (and
subs_removed) - /orgs/{org_id}/bundled_products/{id}/can-switch/{target_id}
- /orgs/{org_id}/bundled_products/{id}/can-switch (and
- New attribute
subs_removedin schema SwitchBundledProduct_Response - Include
payment_typein commercial_devices endpoints response, CommercialDevice and CommercialDeviceAlone schemas - New attribute
generic_code:- Include in CommercialDevice_device_Response Schema
- Include as query param in:
- /orgs/{org_id}/devices/sellable
- /orgs/{org_id}/devices
- /orgs/{org_id}/commercial_products/{id}/commercial_devices/sellable
- /orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable
- /orgs/{org_id}/value_added_services/{id}/commercial_devices/sellable
- /orgs/{org_id}/commercial_devices/sellable
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_commercial_products/can-migrate
- Include
sale_type_namequery param in:- /orgs/{org_id}/bundled_commercial_products/{id}/value_added_services
- /orgs/{org_id}/commercial_products/{id}/value_added_services
-
2.14.1
- Include new properties value and currency in Fee, Term and Promotion in CommercialDevice_fees_Response schema
- Remove unsed query param channel_name
- commercial_devices endpoints:
- new query params:
- payment_type
- device_category
- device_brand
- new query params:
- fix wrong query params in
- /orgs/{org_id}/bundled_products/{id}/promotions
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
- /orgs/{org_id}/value_added_services/{id}/commercial_devices/sellable
- /orgs/{org_id}/bundled_commercial_products/{id}/value_added_services/sellable
- /orgs/{org_id}/commercial_products/{id}/value_added_services/sellable
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_product_subs_types/{bpst_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
- Replace Promotion_Response by PromotionDetail_Response schema
-
2.14.0
- Fix invoice_ name by invoice_name
- New endpoints:
- /orgs/{org_id}/base_profiles
- /orgs/{org_id}/base_profiles/{id}
- /orgs/{org_id}/base_profiles/{id}/services
- /orgs/{org_id}/subs_type
- /orgs/{org_id}/subs_type/{id}
- /orgs/{org_id}/territory_owners
- /orgs/{org_id}/territory_owners/{id}
-
2.13.7
- Include ‘Fixed+Broadband+Mobile+Netflix’ in BundleCategory and BundleCategory_Response schemas
- Include ‘NETFLIX’ in SubsTypeName and SubsTypeName_Response
- Remove query param restricted_to_user_profile
- Include internet_speed attribute in BundledProductBasic_Response Schema
- Include query params in /orgs/{org_id}/value_added_services/{id}/promotions
-
2.13.6
- Commercial profile endpoints:
- /orgs/{org_id}/commercial_profiles
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/commercial_products
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/free_units_packages
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/bundled_products
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/promotions
- Endpoint /{org_id}/promotions/sellable include query param commercial_profile_name and remove unused query param channel_name
- Endpoint /orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable remove channels in response schema and remove query params
- channel_name unused
- renewal_category not sense in this endpoint
- subs_offer_segment not sense in this endpoint
- Endpoint /{org_id}/commercial_devices/sellable remove channels in response schema
- Endpoint /{org_id}/commercial_products/{id}/commercial_devices/sellable remove query params
- channel_name unused
- renewal_category not sense in this endpoint
- subs_offer_segment not sense in this endpoint
- Commercial profile endpoints:
-
2.13.5
- Adapt error codes from int to string due to openapi version update
-
2.13.4
- Include new property internet_speed in following schemas:
- BundledProduct_Response
- BaseProfile
- Include new property internet_speed in following schemas:
-
2.13.3
- Remove query param restricted_to_user_profile for the /orgs/{org_id}/bundled_products/{id}/can-switch endpoint
- Remove query param include_optional_bundled_commercial_products for the /orgs/{org_id}/bundled_products/sellable endpoint
-
2.13.2
- Fix /orgs/{org_id}/devices:
- add mandatory query param commercial_profile_name
- Fix /orgs/{org_id}/devices/sellable:
- add mandatory query param commercial_profile_name
- Fix /orgs/{org_id}/devices:
-
2.13.1
- Change CommercialDevice_fees_Response by remove type
-
2.13.0
- Include new properties value and currency in Fee, Term and Promotion
- Include TransactionType in commercialDevice fee and term response
- New endpoints
- /orgs/{org_id}/commercial_products/sellable
- /orgs/{org_id}/bundled_products/sellable
- /orgs/{org_id}/devices/sellable
- /orgs/{org_id}/devices/{id}
- /orgs/{org_id}/devices
- /orgs/{org_id}/transaction_types/{id}
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_product_subs_types/{bpst_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
-
2.12.2
- Define getCommercialProducts and getCommercialProductsCanSwitch operationId
-
2.12.1
- Fix /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products:
- remove optional query params
- create schema BundledCommercialProductBasic for its response
- Update DonorNumerationType_Response schema
- Fix /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products:
-
2.12.0
- New subscription type DEVICEINSURANCE in SubsTypeName and SubsTypeName_Response schemas
- Include new query param ‘insured_amount’ in
/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/sellable
-
2.11.2
- Fix postOFCupdates, defining request body instead of query param
- Change subs_offer_segment_name from enum to string
- Fix CommercialDevice Schema by changing donor_numeration_type_name by donor_numeration_types
- New CommercialDeviceAlone schema for /commercial_devices/sellable response removing from, to and is_mandatory properties
-
2.11.1
- Include body definition in POST /designer/orgs/{org_id}/catalogue_updates
-
2.11.0
- Include new endpoints for Designer service to request an update of commercial offer
- /designer/orgs/{org_id}/catalogue_updates
- /designer/orgs/{org_id}/catalogue_updates/{update_id}
- Include new SubsOfferSegment values
- Include insured_amount property in CommercialDevice
- Include Fee at bundled product level:
- /bundled_products
- /bundled_products/{id}
- Include new endpoints for Designer service to request an update of commercial offer
-
2.10.2
- Include new property ‘available_networks’ in BaseProfile_services schema
- Fix /commercial_devices/sellable:
- remove channel_name as query param not in use
- add commercial_profile_name as query param
-
2.10.1
- Fix subs_type as object in /commercial_products
-
2.10.0
- Fix to include from and to in ValueFT schema
- Fix CommercialProduct_SubsTypeName_Response schema
- Fix customer_offer_segment_name by subs_offer_segment_name, query param not in use by today
- New Schema InstallationType_Response included as optional in Commercial Devices Endpoints
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/{bcp_id}
-
2.9.1
- Fix remove is_recurring_package property from Change FreeUnitsPackage_free_units_package_template_Response to FreeUnitsPackage_Response and
FreeUnitsPackageDetail
- Fix remove is_recurring_package property from Change FreeUnitsPackage_free_units_package_template_Response to FreeUnitsPackage_Response and
-
2.9.0
- New property commission_percentage in CommercialDevice_installment_plan schema
- fix response /orgs/{org_id}/promotions/{existent_promotion_id}/can-switch/{new_promotion_id}
-
2.8.0
- New value ‘Cross Sell’ in query param sale_type_name and new value in response to identify Cross Sell promotions, schema SaleTypeName
SaleTypeName_Response - Include commercial_profile_name as queryparam in request and in response
- New property ‘duo_type’ in BundledCommercialProductDetail and BundledCommercialProduct schema
- New value ‘Cross Sell’ in query param sale_type_name and new value in response to identify Cross Sell promotions, schema SaleTypeName
-
2.7.0
- New commercial profile visibility functionality, implies:
- new query param commercial_profile_name
- /commercial_products
- /bundled_products
- /bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/sellable
- /commercial_products/{id}/free_units_packages/sellable
- /bundled_products/{id}/can-switch
- /bundled_products/{id}/can-switch/{target_id}
- /bundled_products/{bundled_product_id}/bundled_commercial_products/{id}/can-switch
- /commercial_products/{id}/can-switch
- remove center and user query param (not in use)
- new query param commercial_profile_name
- New commercial profile visibility functionality, implies:
-
2.6.2
- Fix TransactionType schema changing transaction_type attribute values to Credit and Debit instead lowercase
-
2.6.1
- Include bundled_segment attribute in bundled_products node
- BundledProductBasic_Response
- BundledProduct_Response
- SwitchCommercialProduct_Response
- Include bundled_segment attribute in bundled_products node
-
2.6.0
- Include response codes information
- New endpoints:
- /orgs/{org_id}/transaction_types
- /orgs/{org_id}/promotions/id
- Include following attributes in promotions:
- xsell_permit
- reduced_fee_amount
- New query param donor_numeration_type_name to cover commercial devices definition for new subscriptions in following endpoints:
- /orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable
- /orgs/{org_id}/commercial_devices/sellable
-
2.5.0
- Fix BundledCommercialProduct Schema by adding Fee structure
- Tax definition functionality by creating TransactionType schema and include it in Fee, Terms and Promotion Response Schemas
- Compatibility promotions functionality new endpoint /orgs/{org_id}/promotions/{existent_promotion_id}/can-switch/{new_promotion_id}
-
2.4.0
- Filter FreeUnitsPackages by CommercialProfile
- new query param commercial_profile_name in endpoint /orgs/{org_id}/commercial_products/{id}/free_units_packages/sellable
- Include multilanguage invoice name and invoice description info in the following schemas:
- CommercialInfo
- CommercialProduct_Response
- CommercialProductBasic
- FreeUnitsPackageDetail
- FreeUnitsPackage_Response
- PromotionDetail_Response
- Promotion_Response
- ValueAddedService
- BundledProductBasic_Response
- BundledProduct_Response
- SwitchCommercialProduct_Response
- Fix schema type response in:
- /orgs/{org_id}/bundled_products/{id}/can-switch/{target_id}
- /orgs/{org_id}/commercial_products/{id}/free_units_packages/{fup_id}
- Filter FreeUnitsPackages by CommercialProfile
-
2.3.1
- DataSharing funcionality:
- include sharing_compatible in FreeUnitsPackageDetail
- DataSharing funcionality:
-
2.3.0
- DataSharing funcionality
- new endpoint /orgs/{org_id}/commercial_products/{id}/free_units_packages/{fup_id}
- add SubsTypeName_Response
- new value in SubsTypeName
- Adopt API Conventions
- change all enum in responses to x-extensible-enum to allow new values in future
- DataSharing funcionality
-
2.2.4
- Fix is_recurring_package instead of isRecurringPackage in FreeUnitsPackage_free_units_package_template schema
- BaseProfile_services schema:
- mantain default_initial_status
- remove masbarring_code
-
2.2.3
- Update Designer endpoint including /designer prefix
- Update CommercialDevice_installment_plan schema including:
- tin
- tae
- commission
- Modifiy /orgs/{org_id}/commercial_products/{id}/base_profiles to include more info in the services schema BaseProfile_services
- remove default_initial_status
- add:
- network_code
- masbarring_code
- is_changeable
- Modify CommercialDevice_device schema by adding image_url property
-
2.2.1
- Update FUP endpoints to cover rating requirements
- change event_type enum to english
- remove FreeUnitsPackageDetail_free_units_package_template schema
- Update FUP endpoints to cover rating requirements
-
2.2.0
- Update FUP endpoints to cover rating requirements
- Include new logic to populate applicability_rule attribute
- Remove following attributes from free units package template:
- recurrence_scheme
- recurrence_interval_type
- recurrence_interval_value
- prorated
- carry_over
- New endpoint /orgs/{org_id}/commercial_devices/terms/sellable
- Update FUP endpoints to cover rating requirements
-
2.1.3
- Change query enum to schema
- RenewalCategory
- TechnologyName
- Designer Endpoints Updated
- Include new response in execution
- Include format and example for validation_requested_date and execution_requested_date
- Include url_file example
- LoadType schema changed
- Change query enum to schema
-
2.1.2
- Change query enum to schema
-
2.1.1
- Updated information, no code impact: change BaseProfile_services speed attribute from number to string
Release and compatibility
- Deprecations for current versions whenever a new version is announced is 6 months.
- After 6 months, the deprecated version will no longer be supported but will remain accessible for at least 1 year.
- Our APIs will allow requests only from two versions simultaneously, however we won’t support the older of the two.
- All enum in responses are define as x-extensible-enum, it means they all are susceptible to increase values.
Version criteria
{MAJOR}.{MINOR}.{PATCH}
{MAJOR}implies uncompatible changes with the previous{MAJOR}version and also set{MINOR}to0{MINOR}implies new functionalities or information compatible with previous version and set{PATCH}to0{PATCH}implies bug fixes compatible with previous version
More information
Response code library
UNAUTHORIZED_EXCEPTION_CODE
{
"error": "Unauthorized",
"message": "Unauthorized",
"code": "020000"
}
TENANT_NOT_VALID
{
"error": "Not a valid tenant",
"message": "Not a valid tenant",
"code": "020000"
}
ITEM_NOT_FOUND
{
"error": "Item not found",
"message": "Item not found",
"code": "020002"
}
FILE_NOT_FOUND
{
"error": "File not found",
"message": "File not found",
"code": "020003"
}
LOG_NOT_FOUND
{
"error": "Log not found",
"message": "Log not found",
"code": "020005"
}
QUERYABLE_NODE_NOT_FOUND
{
"error": "Queryable node is not valid",
"message": "Queryable node is not valid",
"code": "020004"
}
VALIDATION_REQUIRED
{
"error": "Load must be successfully validated before requesting execution",
"message": "Load must be successfully validated before requesting execution",
"code": "020006"
}
LOAD_EXECUTED
{
"error": "This Load has already been executed",
"message": "This Load has already been executed",
"code": "020007"
}
UNEXPECTED_EXCEPTION_CODE
{
"error": "Unexpected error",
"message": "Unexpected error",
"code": "020009"
}
EXECUTION_IN_PROGRESS
{
"error": "Execution process for this load in progress",
"message": "Execution process for this load in progress",
"code": "020010"
}
LOAD_NOT_FOUND
{
"error": "Given load id not found",
"message": "Given load id not found",
"code": "020011"
}
PROCESS_IN_PROGRESS
{
"error": "Process for this tenant in progress",
"message": "Process for this tenant in progress",
"code": "020012"
}
TransactionType details
| Name | Possible values | Description |
|---|---|---|
| is_external | {true, false} | This value indicates which billing movements are included in MM billing process |
| tax_rate | {not_apply, generic, exempt, not_taxed} | This attribute defines the tax rate of a billing movement |
Possible combinations are:
-
is_external: true
- not_apply: not included in MM billing and taxes not applied
- generic: not included in MM billing and taxes applied and taxed applied based on billing address
-
is_external: false
- generic: included in MM billing and taxes applied based on billing address
- exempt: included in MM billing and taxes impact removed by legal requirements (example: donations, bets…)
- not_taxed: included in MM billing and without taxes impact by definition