POST
/
purchases
/
{orderId}
/
prolong
curl --request POST \
  --url https://api.streamskill.pro/v1/purchases/{orderId}/prolong \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "count": 1
}'
{
  "status": "ok"
}

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
count
integer

The count of the prolong (if tarif hourly - count of hours, else - count of days)

Required range: x >= 1
Example:

1

Response

200
application/json
Action Success
status
string

The status of the action

Example:

"ok"