Catalog Item Management

You can purchase, query, and cancel catalog items using the SubMan APIs.

Catalog Item Parameters

When you purchase a catalog item, you can specify values for any parameters assigned to the catalog item using the parameter ParameterDefnId or ParameterName. The following is an example of a PurchaseOffer request body that identifies a parameter using the ParameterDefnId:
{
    "$": "MtxRequestSubscriberPurchaseOffer", 
    "ExecuteMode": 0, 
    "OfferRequestArray": [
        {
            "$": "MtxPurchasedOfferData", 
            "CatalogItemId": "18", 
            "ParameterArray": [
                {
                    "$": "MtxParameterData", 
                    "ParameterDefnId": "1", 
                    "Value": {
                        "$": "MtxParameterDecimalValue", 
                        "Value": ".50"
                    }
                }
            ]
        }
    ]
}

If you do not specify a parameter value in the PurchaseOffer request, the default value of the parameter is used for the purchased catalog item.

You can modify parameter values for a purchased catalog item any time after a purchase by making a ModifyOffer request. The ModifyOffer API uses the input ParameterArray field to replace the parameter array stored for the purchased catalog item. If the catalog item is purchased with no parameter value, call the ModifyOffer API with an array of parameter values to use the new value. If the catalog item is purchased with parameter values, call the ModifyOffer API with an empty parameter array to use the default value.

You can use the following APIs to get parameter values for purchased catalog items:
  • MtxRequestDeviceQuery
  • MtxRequestGroupQuery
  • MtxRequestSubscriberQuery
  • MtxRequestSubscriptionQuery

Use the MtxRequestPricingQueryCatalogItem API to get parameter information for a specific catalog item. The SubMan calls to get the list of catalog items and to get a single catalog item include any default parameter bindings.