getCartByCartKey


SoftLayer_Billing_Order_Cart::getCartByCartKey

Retrieve a cart.

Description

Retrieve a valid cart record of a SoftLayer order.

Parameters

Name Type Description
cartKey string Key required to retrieve a cart.

Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the exception “No cart found”
  • Throw the exception “You do not have permissions to access this cart.”
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Billing_Order_Cart/getCartByCartKey'