POST
/
purchases
/
{orderId}
/
edit-chatbot
curl --request POST \
  --url https://api.streamskill.pro/v1/purchases/{orderId}/edit-chatbot \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "interval": 10,
  "mode": 1,
  "phrases": [
    "test1",
    "test2"
  ]
}'
{
  "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

Response

200
application/json

Action Success

The response is of type object.