add did numbers to cart

API Docs by APIMATIC

Add DID Numbers to Cart

Use this method to add DID numbers to the cart. Once DID numbers are added to the cart in your account, you'll be able to finalize the purchase by checking them out.

The method returns a list of DID numbers that were successfully added to the cart.

This endpoint requires authentication.

PUT /buy/cart
  • EXPLORER
  • PARAMETERS
Endpoint Arguments*
Parameters*
ids*

IDs of DID numbers to be added to the cart

Response Type

curl -X PUT \
  --url 'https://api.wavix.com/v1/buy/cart?appid=appid' \
  -H 'Accept: application/json'\
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'ids%5B0%5D=61' \
  -d 'ids%5B1%5D=62'