GET /store/products/{product_id}
Retrieve a product.
Request
- Base URLhttps://developers.whmcs.com/api/v2
- Authnone declared
Path parameters
product_idinteger required
Product ID
Response
Properties of a product.
Example response
{
"data": {
"id": 123,
"name": "Shared web hosting",
"tagline": "Start with shared web hosting today!",
"allow_multiple_quantities": {
"type": {
"code": 1,
"display": "No"
}
},
"order": 123,
"group": {
"id": 123,
"name": "Shared web hosting",
"icon": "fa-solid",
"headline": "Headline",
"tagline": "Tagline",
"order": 123,
"features": [
{
"id": 123,
"name": "Shared web hosting",
"order": 123
}
]
},
"type": {
"name": "hostingaccount",
"display_name": "Hosting Account"
},
"pricing": {
"onetime": {
"setup": {
"value": "19.99",
"code": "USD",
"display_value": "$19.99 USD",
"prefix": "$",
"suffix": " USD"
},
"amount": {
"value": "19.99",
"code": "USD",
"display_value": "$19.99 USD",
"prefix": "$",
"suffix": " USD"
}
},
"recurring": [
{
"cycle": "monthly",
"setup": {
"value": "19.99",
"code": "USD",
"display_value": "$19.99 USD",
"prefix": "$",
"suffix": " USD"
},
"amount": {
"value": "19.99",
"code": "USD",
"display_value": "$19.99 USD",
"prefix": "$",
"suffix": " USD"
}
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.