Toggle Navigation
SoftLayer API
Articles
Documentation
Go
Java
Perl
PHP
Python
Rest
Ruby
Tools
getCartByCartKey
Classes
SoftLayer_Billing_Order_Cart
Tags
method
sldn
billing
Services
"SoftLayer_"
prefix removed for readability.
Services or Datatypes go here
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
Authenticate
Optional Headers
SoftLayer_Billing_Order_CartObjectMask
Return Values
SoftLayer_Billing_Order_Cart
Error Handling
Throw the exception “No cart found”
Throw the exception “You do not have permissions to access this cart.”