Retrieve an order
Use the getOrder method to retrieve details on a specific order placed with dynamic product information, or catalog products, using the unique, system-generated reference.
Request parameters
Parameters
Type/Description
sessionID
Required (string)
Session identifier, the output of the Login method. Include sessionID into all your requests. 2Checkout throws an exception if the values are incorrect. The sessionID expires in 10 minutes.
orderReference
Required (string)
Order reference number of an older order, which is already approved/paid.
skipPartnerOrders
Optional (boolean)
Default value = TRUE.
Decides if the partner orders should be retrieved or not. By default, they are skipped and instead of returning the partner order according to the orderReference, it will return the master order.
Response parameters
Parameters
Type
Object (orders with catalog products)
Object (orders with dynamic product information)
String
Only orders with STATUS = COMPLETE are returned when placing a getOrder API call.
Request sample
Last updated
Was this helpful?