latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Sitejet

Set Ecommerce 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_ecommerce

Query parameters

allowEcommerce0 | 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_ecommerce",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}