Hosting Website Builder Token¶
/hosting-website-builder-token¶
POST¶
Create a token to access the website builder
JSON request
|
string |
The reference of the hosting account where the token is requested for. |
|
string |
The URL the customer is redirected to when upgrade links are clicked from within the site builder. I.e. a URL to your shop. |
JSON response
object: Hosting Website Builder Token
Sample
curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
{
"plan_change_url": "https://myshop.com/order/product/1",
"hosting_account": "{id}"
}
' \
"{{api_base_url}}/hosting-website-builder-token" | python -m json.tool