verifyOrder


SoftLayer_Product_Order::verifyOrder

Verify that an order may be successfully placed with the details provided.

Description

This service is used to verify that an order meets all the necessary requirements to purchase a server, virtual server or service from SoftLayer. It will verify that the products requested do not conflict. For example, you cannot order a Windows firewall with a Linux operating system. It will also check to make sure you have provided all the products that are required for the SoftLayer_Product_Package_Order_Configuration associated with the SoftLayer_Product_Package on each of the SoftLayer_Container_Product_Order specified.

This service returns the same container that was provided, but with additional information that can be used for debugging or validation. It will also contain pricing information (prorated if applicable) for each of the products on the order. If an exception occurs during verification, a container with the SoftLayer_Exception_Order exception type will be specified in the result.

verifyOrder accepts the same SoftLayer_Container_Product_Order as placeOrder, so see SoftLayer_Product_Order::placeOrder for more details.


Parameters

Name Type Description
orderData SoftLayer_Container_Product_Order Details required to order.

Required Headers

Optional Headers

  • None

Return Values

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Container_Product_Order]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Order/verifyOrder'