Loading...

Knowledge Base

Get the Customer Pricing for WordPress Hosting Using the API

When you want to retrieve WordPress Hosting pricing details for customers using the API. This article explains how to fetch plan pricing information, including plan IDs, tenure-based pricing, and add or renewal pricing for WordPress Hosting plans.

Get Customer Pricing

 

Description

Use this method to get details of the pricing for the Wordpress Hosting plans for your Customers.

Response

Returns a map with the prices of the Wordpress Hosting plans along with the prices of the other products.

The response structure for the Wordpress Hosting will be:

"productkey": { "planid": { "action": { "tenure-in-months":price }} }

 

Example:

{"wordpresshostingusa":{"plans":{"300109":{"renew":{"24":33.99,"12":20.99},"add":{"24":2.99,"12":20.99}},"300108":{"add":{"12":0.0}},"300110":{"renew":{"12":20.99},"add":{"12":20.99}}}}}