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. 1.curl --location 'https://api.belurk.com/orders/create'
  2. 2.--header 'Content-Type: application/json'
  3. 3.--header 'x-api-token: {{API_TOKEN}}'
  4. 4.--data '{
  5. 5. "product_id": 1
  6. 6. "quantity": 10
  7. 7.}'

Successful Response

Response Status: HTTP 200 OK

  1. 1.{
  2. 2. "data": {
  3. 3. "order_id": 1816
  4. 4. }
  5. 5.}

Failure Response

Response Status: HTTP 500 Internal Server Error

  1. 1.{
  2. 2. "data": null
  3. 3. "error": "Внутренняя ошибка системы"
  4. 4.}