Function /domain/renew/suspended
Function invocation
https://json.aftermarket.pl/domain/renew/suspended
Function description
Renew domain for given period (operation suspended). The operation will be listed on /order/list and can be activated by /order/resume. If the cost of performing the operation is reduced to 0, the order will not be suspended and will be performed immediately.
Input parameters
This function takes the following input parameters:
| Parameter | Type | Required | Default value | Description |
|---|---|---|---|---|
| name | string | YES | Domain name to renew | |
| period | integer | 1 | Time period in years, default 1 year | |
| useCode | boolean | false | Use bonus code |
Return value
Operation result (structure with the following fields):
| Field name | Type | Description |
|---|---|---|
| orderId | integer | Order id |
| amount | float | Optional amount |
| currency | string | Currency of optional amount |
| myAmount | float | Amount in member currency of optional amount |
| myCurrency | string | Member's currency |