Configure a package for API ordering
By default, API ordering is not enabled when you create a package. This task explains how to configure a package so you can order it through the API.
- Log in to Smile.
-
On the Smile menu, click Configuration.
The Configuration and Tools page is displayed.
-
Under Services, Ordering and Rating, click Packages.
The Packages page is displayed.
-
Click View to edit an existing package.
Information about the package is displayed.
-
Click the Order Form tab and add fields to the package order
form.
Your application uses these fields to order the package in the API.Note: Select the Use Order Form checkbox only if you want to display this subset of fields when Smile users order the package.
-
Click the Plans tab and add plans to the package.
A package can contain more than one plan for a service. For example, a broadband package can contain a choice between plans with downloads of 1GB/month or 5GB/month.
-
Publish the package if you have not already done so.
You cannot order an unpublished package.
-
Enable CAT ordering for the API user, as follows:
-
Search for the name of the API user.
This is the name your application uses to connect to the API.
-
Double-click the CAT entry to view the subscription details.
The subscription summary for the API user is displayed.
- On the Account sidebar, click the CAT Ordering options sub-menu for the CAT subscription.
- Select the packages you want the API user to order, then click Add.
The API user can now order this package through the API. -
Search for the name of the API user.