Cart

Remove from cart

Changed on

Removes the listed phone numbers from the purchase cart.

delete/v1/buy/cart

Request

  • Base URL
    https://api.wavix.com
  • URL
    https://api.wavix.com/v1/buy/cart
  • Auth
    HTTP bearer

Request body

idsstring[] required

Phone numbers to remove from the cart.

Example request

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

Response

Returns a success confirmation. The numbers are removed from the cart.

successboolean required

Indicates whether the request was successful.

Example response

{
  "success": true
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API