update_client_package
Description
This API allows you to change the day or renewal or adjust the minutes of a package that has already been assigned to a client.
Parameters
client_account_code package_name minutes (Optional) day_of_renew (Optional)
Request
curl -X POST \-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \-H "Content-Type: application/json" \ -d '{"client_account_code":"2144533795","package_name":"North_America_2000", "minutes": 750}' \ -k https://your.domain.com/api/users/update_client_package
Responses
{ "status": "success", "results": [ { "day_of_renew": "30", "client_account_code": "2144533795", "package_name": "North_America_2000", "remaining_minutes": 750.0 } ] }