Create the Products API
- Click on the Create Service link.
- Enter the following values:
Parameter | Value |
---|---|
Name | Products |
System name | products_system |
Description | RHMart Products API |
- Scroll down to the bottom of the page, and make sure API Key is selected as authentication method.
- Click on the Create Service button.
- In the APIs section, expand the Products API and scroll down to the Published Application Plans section.
- Click on the Create Application Plan link.
- Enter the following values:
Parameter | Value |
---|---|
Name | ProductsBasicPlan |
System name | products/basic |
- Click on the Create Application Plan button.
- Click on the Create Application Plan link.
- Enter the following values:
Parameter | Value |
---|---|
Name | ProductsPremiumPlan |
System name | products/premium |
- Click on the Create Application Plan button.
- Click on the Publish link for both Basic and Premium plans.
Plans are used for granting access to specific APIs and endpoints, limiting traffic and monetizing API usage. Application plans let you configure access rights to an API by specifying rate limits and pricing rules. All applications must be associated with a plan. Application plans can be customized for one application.