Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
enum<string>
default:en

The language of the response

Available options:
en,
ru

Path Parameters

orderId
integer
required

The ID of the order

Body

application/json

Provide hours (preferred) or the deprecated count. Limits depend on the original tariff: hourly — 24 hours (1 day), daily — 168 hours (7 days), weekly — 672 hours (4 weeks), monthly — 1440 hours (30 days).

hours
integer<int32>
required

Exact extension duration in hours. The per-order maximum depends on the original tariff and can be lower than the global maximum shown here.

Required range: 1 <= x <= 1440
Example:

24

count
integer<int32>
deprecated

Deprecated compatibility field. Number of original tariff units: hours for an hourly tariff, days for a daily tariff, weeks for a weekly tariff, and 30-day months for a monthly tariff. Maximum count: hourly — 24, daily — 7, weekly — 4, monthly — 2. Use hours for new integrations.

Required range: 1 <= x <= 24
Example:

1

Response

Action Success

status
string

The status of the action

Example:

"ok"