Skip to main content
PUT
/
buy
/
cart
Add phone numbers to the cart
curl --request PUT \
  --url 'https://api.wavix.com/v1/buy/cart?appid=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "541139862174",
    "541139862175"
  ]
}
'
[
  {
    "activation_fee": "15.0",
    "channels": 4,
    "city": "Buenos Aires",
    "cnam": false,
    "country": "Argentina",
    "country_short_name": "AR",
    "domestic_cli": false,
    "free_min": 0,
    "id": 541139862174,
    "monthly_fee": "10.0",
    "number": "541139862174",
    "per_min": "0.01",
    "require_docs": [],
    "sms_enabled": false,
    "sms_price": "0.0"
  }
]

Authorizations

appid
string
query
required

An API key to authorize your request

Body

application/json

Array of phone numbers to add to the cart

ids
string[]
required

Comma-separated list of numbers to add to the cart

Example:
["541139862174", "541139862175"]

Response

A list of phone numbers added to the cart

Example:
[
{
"activation_fee": "15.0",
"channels": 4,
"city": "Buenos Aires",
"cnam": false,
"country": "Argentina",
"country_short_name": "AR",
"domestic_cli": false,
"free_min": 0,
"id": 541139862174,
"monthly_fee": "10.0",
"number": "541139862174",
"per_min": "0.01",
"require_docs": [],
"sms_enabled": false,
"sms_price": "0.0"
}
]