"SoftLayer_" prefix removed for readability.
Update an existing cart with the modified order data
Like SoftLayer_Billing_Order_Cart::createCart, the order data will be sent through SoftLayer_Product_Order::verifyOrder to make sure that the updated cart information is valid. Once it has been verified, the new order data will be saved.
This will return the cart id.
Name | Type | Description |
---|---|---|
orderData | SoftLayer_Container_Product_Order | The order data to save as a cart |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Container_Product_Order]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Order_Cart/{SoftLayer_Billing_Order_CartID}/updateCart'