Create New Order
Proxy Purchase
The method deducts money from the balance and creates a new order for purchasing proxies
Request
URL
https://api.belurk.com/orders/create
Sending Method
POST
CURL
- 1.curl --location 'https://api.belurk.com/orders/create'
- 2.--header 'Content-Type: application/json'
- 3.--header 'x-api-token: {{API_TOKEN}}'
- 4.--data '{
- 5. "product_id": 1
- 6. "quantity": 10
- 7.}'
Successful Response
Response Status: HTTP 200 OK
- 1.{
- 2. "data": {
- 3. "order_id": 1816
- 4. }
- 5.}
Failure Response
Response Status: HTTP 500 Internal Server Error
- 1.{
- 2. "data": null
- 3. "error": "Внутренняя ошибка системы"
- 4.}