Function   /order/prolong

Function invocation

Function description

Prolong order.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
orderId integer YES Order identifier, can be obtained from order list
days integer YES Number of days (min 1)

Return value

New cost of order (structure with the following fields):

Field nameTypeDescription
cost float New cost
currency string currency
deadline integer New deadline for order as Unix timestamp