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
Key | Datatype | Required | Description |
---|---|---|---|
apikey | string | Authentication 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-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"cart":{"cartIdentifier":4179883,"customerReference":"99c37736-a61d-477d-81c0-94782f392bec","description":"DID orders for USA","dateAdded":"2020-05-29 11:16:49","orderProducts":null}}