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:
| Parameter | Type | Required | Default value | Description |
|---|---|---|---|---|
| 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 name | Type | Description |
|---|---|---|
| cost | float | New cost |
| currency | string | Currency |
| deadline | integer | New deadline for order as Unix timestamp |