# API: Change account package

# changeAccountPackage

The method changes the account package without creating a new order

# Required parameters

Parameter Description
id Account ID
product_id The product ID to change the package

# Optional parameters

Parameter Description
recalculate Recalculate account recurring price with new value pricing [1

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=changeAccountPackage&id=ID&product_id=PRODUCT_ID

# PHP Samples

# Response

{
    "success": true,
    "call": "changeAccountPackage",
    "server_time": 1708699344,
    "info": [
        "Function has been scheduled for execution"
    ]
}
Last Updated: 10/7/2024, 2:36:43 PM