Add to Cart

The Ordering module contains 10 methods that allow purchasing Voxbone services.

Add to Cart API: This method that allows you to add items (orderProducts) to a specific cart before checking out the cart. Different product types (DID, CAPACITY or CREDIT_PACKAGE) can be added into one single cart. However, only one product can be added per addToCart request. The system will automatically create a new orderProductId (or add the items to an existing one) for the items added to your cart. You can retrieve the orderProductId with the listCart method.

It is currently possible to purchase DIDs even when Voxbone’s stock is empty. This will create a partial order and the DIDs will not appear in your inventory, they will be delivered once Voxbone’s stock is full again. It is extremely important that you implement the appropriate logic for your application when Voxbone’s stock is empty or low. Otherwise, you will enable your customers to purchase DIDs without seeing them in their inventory and confuse them, potentially creating a lot of unwanted orders. You have a few options as to how to implement this (eg. disable purchase when didGroup stock is low, or letting the customer know that his order will be fulfilled at a later stage.