Once an upgrade happens, an invoice is generated for that user. If it’s a free user to a paid account, the full price for that upgrade will be created. If it’s in between billing periods, a prorated discount will be applied to the invoice.
Parameter
Required
Requirements
task
Yes
Must be set to
immediate_upgrade.
user
Yes
Must be an User under your account.
package
Yes
The name of the package you will be upgrading
the User to.
ip[]
Maybe Yes
If the package you are upgrading your user
requires a whitelabel and/or an unique IP, you must assign a free IP
to this user.
ip_group[]
Maybe Yes
If the package you are upgrading your user to
does not require an IP or whitelabel, you must place them in an IP
group.
Once a downgrade happens, an invoice is generated for that user. Free customers are not allowed to downgrade.
Parameter
Required
Requirements
task
Yes
Must be set to
immediate_downgrade.
user
Yes
Must be an User under your account.
package
Yes
The name of the package you will be
downgrading the User to.
ip[]
Optional
If the package you are downgrading your user
requires a whitelabel and/or an unique IP, you may assign a free IP
to this customer using your assigned IPs in suppliment from SendGrid.
ip_group[]
Optional
If the package you are downgrading your user
to does not require an IP or whitelabel, you may place them in an IP
group.
Close or revert an account to a free user immediately. An invoice
is generated for that user with the new package price (if no overages
are incurred, a invoice with zero amount due is generated.
Parameter
Required
Requirements
task
Yes
Must be set to
immediate_close.
user
Yes
Must be an customer under your account.
ip_group[]
No
Define an ip group you will place the user
into once the customers account is closed.
Apply an upgrade at the end of the user’s billing cycle. Once an upgrade happens, an invoice is generated for that user with the new package price. Prorated charges do not apply here.
Parameter
Required
Requirements
task
Yes
Must be set to
scheduled_upgrade.
user
Yes
Must be an User under your account.
package
Yes
The name of the package you will be upgrading
the User to.
ip[]
Maybe Yes
If the package you are upgrading your user
requires a whitelabel and/or an unique IP, you must assign a free IP
to this user.
ip_group[]
Maybe Yes
If the package you are upgrading your user to
does not require an IP or whitelabel, you must place them in an IP
group.
Apply a downgrade at the end of the user’s billing cycle. Once a downgrade happens, an invoice is generated for that user with the new package price. Prorated charges do not apply here.
Parameter
Required
Requirements
task
Yes
Must be set to
scheduled_downgrade.
user
Yes
Must be an User under your account.
package
Yes
The name of the package you will be
downgrading the User to.
ip[]
Maybe Yes
If the package you are upgrading your user
requires a whitelabel and/or an unique IP, you must assign a free IP
to this user.
ip_group[]
Maybe Yes
If the package you are upgrading your user to
does not require an IP or whitelabel, you must place them in an IP
group.
Close or revert an account to a free user at the end of the
user’s billing cycle. Once a closure happens, an invoice is generated
for that user with the new package price (if no overages are incurred, a
invoice with zero amount due is generated.
Parameter
Required
Requirements
task
Yes
Must be set to
scheduled_close.
user
Yes
Must be an User under your account.
ip_group[]
No
Define an ip group you will place the user
into once the customers account is closed.