Sitejet
Set Commerce URL
This function enables Sitejet Commerce for all users and allows the hosting provider to set a custom URL for their payment platform, which customers can use to purchase the Sitejet Commerce upgrade.
get/set_commerce
Request
- Base URLhttps://whm-server.tld:2087/json-api
- AuthHTTP basic
Query parameters
allowCommerce0 | 1 required
Example:1
- 1 - Sitejet Commerce is enabled.
- 0 - Sitejet Commerce is disabled.
storeurlstring url
Example:http://www.example-store.com/purchase
The URL for the hosting provider's payment platform. If this value is not set, the URL will default to the Sitejet Commerce store.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "set_commerce",
"reason": "OK",
"result": 1,
"version": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.