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.
allowComme required | integer
Example: |
storeurl | string The URL for the hosting provider's payment platform. If this value is not set, the URL will default to the Sitejet Commerce store. Example: |
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ Sitejet/set_commerce \ allowCommerce='1'
{- "metadata": {
- "command": "set_commerce",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}