Proxy-seller

Create authorization

This endpoint will help you create authorization for a specific order.

Endpoint

For the login:password

POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/auth/add

For the IP authorization

POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/auth/add/ip

Path parameters:

Name

Value

Description

Authorization

<Your_API_Key>

Your personal API key (how to get)

Request body

Name

Type

Description

orderNumber

String

Order number (NOT order_id)

generateAuth

String

Create custom authorization - Y/N (N - default)

ip

String

IP address

Example

login:password

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/auth/add

IP authorization

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/auth/add/ip

Response

login:password

{
  "status": "success",
  "data": {
    "id": "66decee1e4b0c423139280d9",
    "active": true,
    "login": "abcdef1",
    "password": "fedcba1",
    "orderNumber": "2000096_20240080"
  },
  "errors": []
}

IP authorizations

{
  "status": "success",
  "data": {
    "id": "66decee1e4b0c423139280d9",
    "active": true,
    "ip": "127.0.0.1",
    "orderNumber": "2000096_20240080"
  },
  "errors": []
}

orderNumber not found or incorrect

{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set exists [orderNumber]",
            "code": 0,
            "customData": null
        }
    ]
}

On this page