Create cart for new orders

PUT {{baseUrl}}/v1/ordering/cart

The creation of a cart depends on your own business logic, but you'll always need to create at least one cart to place an order (checkoutCart). You can place multiple orders per cart or you can create separate carts for each order. Note that different product types (DID, Capacity or prepaid credits) can be added into one single cart.

Request Body

{"customerReference"=>"<string>", "description"=>"<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;cart&quot;:{&quot;cartIdentifier&quot;:4179883,&quot;customerReference&quot;:&quot;99c37736-a61d-477d-81c0-94782f392bec&quot;,&quot;description&quot;:&quot;DID orders for USA&quot;,&quot;dateAdded&quot;:&quot;2020-05-29 11:16:49&quot;,&quot;orderProducts&quot;:null}}