Function   /check/order/prolong

Function invocation

https://json.aftermarket.pl/check/order/prolong

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