Add numbers and products to cart

POST {{baseUrl}}/v1/ordering/cart/:cartIdentifier/product

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. When you order capacity you should update your capacity forecast (in the portal). The delivery of capacity is not in real-time and requires validation from our operation team.

Request Body

{"cartIdentifier"=>"<integer>", "didCartItem"=>{"didGroupId"=>"<integer>", "quantity"=>"<integer>"}, "capacityCartItem"=>{"zone"=>"<string>", "quantity"=>"<integer>"}, "creditPackageCartItem"=>{"creditPackageId"=>"<integer>", "quantity"=>"<integer>"}, "phoneNumbers"=>[{"phoneNumber"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
apikeystringAuthentication to Voxbone APIs is handled via key based authentication. You can manage your API key on our platform under Account Settings. Please use our API quickstart guide for more help.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cstring\u003e&quot;}