POST
/
purchases
/
{orderId}
/
edit-chatbot

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

The interval of the chatbot

Required range: x > 1
mode
enum<integer>

The mode of the chatbot (0 - random, 1 - sequential)

Available options:
0,
1
phrases
string[]

The phrases of the chatbot

Response

200 - application/json
status
string

The status of the action