Commercial Infos

Access to commercial infos


Parameters

Name In Type Required Description
org_id path string true organization name
id path string true commercial product identifier

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/commercial_products/2311/commercial_infos \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK CommercialInfo [CommercialInfo]
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of CommercialInfo

Custom schema example

1
2
3
4
5
6
7
8
9
[
  {
    "id": "109ES1DESCRIPTION",
    "commercial_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>",
    "language": "ES",
    "invoice_name": "Tarifa Cero Prepago 150min+700mb",
    "invoice_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>"
  }
]
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

404 - instance of KOGenericResponse

Custom schema example

1
2
3
4
5
{
  "error": "Item not found",
  "message": "Item not found",
  "code": "0200XX"
}
Name Type Required Description
error string false none
message string false none
code string false none

Parameters

Name In Type Required Description
org_id path string true organization name
id path string true bundled product identifier

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/bundled_products/609/commercial_infos \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK CommercialInfo [CommercialInfo]
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of CommercialInfo

Custom schema example

1
2
3
4
5
6
7
8
9
[
  {
    "id": "109ES1DESCRIPTION",
    "commercial_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>",
    "language": "ES",
    "invoice_name": "Tarifa Cero Prepago 150min+700mb",
    "invoice_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>"
  }
]
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

404 - instance of KOGenericResponse

Custom schema example

1
2
3
4
5
{
  "error": "Item not found",
  "message": "Item not found",
  "code": "0200XX"
}
Name Type Required Description
error string false none
message string false none
code string false none

Parameters

Name In Type Required Description
org_id path string true organization name
id path string true bundled commercial product identifier

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/bundled_commercial_products/3009_BUNDLED_3P/commercial_infos \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK CommercialInfo [CommercialInfo]
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of CommercialInfo

Custom schema example

1
2
3
4
5
6
7
8
9
[
  {
    "id": "109ES1DESCRIPTION",
    "commercial_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>",
    "language": "ES",
    "invoice_name": "Tarifa Cero Prepago 150min+700mb",
    "invoice_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>"
  }
]
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

404 - instance of KOGenericResponse

Custom schema example

1
2
3
4
5
{
  "error": "Item not found",
  "message": "Item not found",
  "code": "0200XX"
}
Name Type Required Description
error string false none
message string false none
code string false none

Parameters

Name In Type Required Description
org_id path string true organization name
id path string true free units package identifier

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/free_units_packages/145/commercial_infos \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK CommercialInfo [CommercialInfo]
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of CommercialInfo

Custom schema example

1
2
3
4
5
6
7
8
9
[
  {
    "id": "109ES1DESCRIPTION",
    "commercial_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>",
    "language": "ES",
    "invoice_name": "Tarifa Cero Prepago 150min+700mb",
    "invoice_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>"
  }
]
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

404 - instance of KOGenericResponse

Custom schema example

1
2
3
4
5
{
  "error": "Item not found",
  "message": "Item not found",
  "code": "0200XX"
}
Name Type Required Description
error string false none
message string false none
code string false none

Parameters

Name In Type Required Description
org_id path string true organization name
id path string true promotion identifier

Request example

1
2
3
4
5

curl -X GET https://catalogue.masstack.com/v2/orgs/masmovil/promotions/234/commercial_infos \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK CommercialInfo [CommercialInfo]
401 Unauthorized Unauthorized string
404 Not Found Item not found KOGenericResponse

200 - instance of CommercialInfo

Custom schema example

1
2
3
4
5
6
7
8
9
[
  {
    "id": "109ES1DESCRIPTION",
    "commercial_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>",
    "language": "ES",
    "invoice_name": "Tarifa Cero Prepago 150min+700mb",
    "invoice_description": "<strong>Tarifa Cero Prepago 150min+700mb</strong>"
  }
]
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

401 - JsonObject

Custom schema example

1
"Origin authentication failed."
Name Type Required Description
id string false none
commercial_description string false none
language string false none
invoice_name string false none
invoice_description string false none

404 - instance of KOGenericResponse

Custom schema example

1
2
3
4
5
{
  "error": "Item not found",
  "message": "Item not found",
  "code": "0200XX"
}
Name Type Required Description
error string false none
message string false none
code string false none

Endpoints

Commercial Products

    Bundled Products

      Bundled Commercial Products

        Free Units Packages

          Promotions

            Commercial Devices

              Rate Plans

                Base profiles and services

                  Value Added Services

                    Provisioning Profiles

                      Services

                        Commercial Infos

                          Transaction types

                            Devices

                              Commercial profiles

                                Misc services