v50

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-06-16122182589.7 KB
Cart

Add to cart

Adds the listed phone numbers to the purchase cart.

put/v1/buy/cart

Request body

idsstring[] required

Phone numbers to add to the cart.

Example request

{
  "ids": [
    "541139862174",
    "541139862175"
  ]
}

Response

Returns the phone numbers now in the cart.

{"stackTrail":"paths:/v1/buy/cart:put:responses:200:content:application/json:schema:items","oasType":"schema","type":"unknown"}

Example response

[
  {
    "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
  }
]