Create a new cart from the order data provided


When creating a new cart, the order data is sent through SoftLayer_Product_Order::verifyOrder to make sure that the cart contains valid data. If an issue is found with the order, an exception will be thrown and you will receive the same response as if SoftLayer_Product_Order::verifyOrder were called directly. Once the order verification is complete, the cart will be created.

The response is the new cart id.


Name Type Description
orderData SoftLayer_Container_Product_Order The order data to save as a cart

Required Headers

Optional Headers

  • None

Return Values

  • int