API documentation
  • Documention
    • Common information
      • Authorization in API
      • Currency
    • Services
    • Order management
      • Order list reception
      • Placing an order
      • Order changes
      • Order payment
      • Order operations
    • Network tools
      • Checker
      • Free proxies
Powered by GitBook
On this page
  1. Documention
  2. Order management

Order changes

PreviousPlacing an orderNextOrder payment

Last updated 1 year ago

Proxies quantity changes

If the order has expired and you want to change proxies quantity in it you should use remove_proxies and quantityparameters. .

For mobile proxies you just need to pass quantity which you need in your order in quantity field.

For the rest of proxies you need to pass the list of IPs you need to delete from the order to remove_proxies and point the resulting quantity you need in your oder in quantity field.

For example if you have 4 proxies in your order you should pass the body like:

{
    "remove_proxies: ["0.0.0.0", "1.1.1.1"],
    "quantity": 6
}

In this case the sysyem will delete 2 IPs from your order and add 4 new IPs (so the total quantity equals 6).

  • POSTChange of order
  • Proxies quantity changes

Change of order

post

Changing order details. For active orders, only authentication data can be changed.

Path parameters
order_idintegerRequiredExample: 10000
Query parameters
langstring · enumOptional

Language code

Default: ENPossible values:
currencystring · enumOptional

Currency code

Default: USDPossible values:
Body
quantityintegerOptional

Number of addresses/channels

Example: 1
remove_proxiesstring · ip[]Optional

List of proxies that need to be removed

portintegerOptional

Proxy port

Example: 8000
loginstringOptional

Proxy login

Example: ps10000
passwordstringOptional

Proxy password

Example: bfQQKiIOM0jT2dOJvBQh
gen_passwordbooleanOptional

If true, then a new password will be generated, the password field will be ignored

Default: false
ip_authstring · ip[]Optional

IP list for accessing the proxy without login/password. To clear, send an empty list or the string 'clear'.

Responses
200
OK
application/json
401
Unauthorized
404
Order not found
422
Validation error
application/json
post
POST /api/user/orders/{order_id} HTTP/1.1
Host: v3.proxy-solutions.net
Content-Type: application/json
Accept: */*
Content-Length: 143

{
  "quantity": 1,
  "remove_proxies": [
    "text"
  ],
  "port": 8000,
  "login": "ps10000",
  "password": "bfQQKiIOM0jT2dOJvBQh",
  "gen_password": true,
  "ip_auth": [
    "text"
  ]
}
{
  "currency": "USD",
  "order": {
    "id": 10000,
    "status": "active",
    "service": {
      "id": 4,
      "provider": "server-proxies",
      "name": "City proxies"
    },
    "location": {
      "id": 24,
      "type": "city",
      "name": "New York",
      "country_name": "USA"
    },
    "operator": {
      "id": 37,
      "name": "Orange"
    },
    "period": 30,
    "quantity": 1,
    "minimal_payment": 1.81,
    "amount": 1.81,
    "converted_amount": 100,
    "auto_continuation": true,
    "allowed_operations": [],
    "resources_allocated": true,
    "access": {
      "port": 8000,
      "login": "text",
      "password": "text",
      "ip_list": [
        "192.168.1.1"
      ]
    },
    "proxies": [
      {
        "ip": "10.0.0.1"
      },
      {
        "ip": "10.0.0.2"
      }
    ]
  }
}