Read Order
Method URI: https://www.mcssl.com/API/{MerchantId}/Orders/{id|token}[/READ]
Example Request https://www.mcssl.com/API/118303/Orders/173459429
POST DATA <Request> <Key>9679623159ec4a51a9...</Key> </Request>
Element Name | Description | Required | Default |
---|---|---|---|
Key | Your Merchant Key | Y |
Example Response
<Response success="true" xmlns:xlink="http://www.w3.org/1999/xlink">
<OrderInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Id>173459429</Id>
<ClientId></ClientId>
<GrandTotal>19.98</GrandTotal>
<OrderPaymentType>PaypalExpressCheckout</OrderPaymentType>
<OrderChargeStatusType>Unknown</OrderChargeStatusType>
<OrderStatusType>Pending</OrderStatusType>
<PendingReasonType>Paypal</PendingReasonType>
<IsArchived>false</IsArchived>
<OrderDate>2007-08-28T11:09:52.29927</OrderDate>
<Token>b1a84bec52ed4c0398d47a37e5e31c69</Token>
<AdId>1234</AdId>
<AdName>Ad Name</AdName>
<TransactionId>2167451877</TransactionId>
<LineItems>
<LineItemInfo>
<Discounts />
<OrderId>173459429</OrderId>
<Id>173488510</Id>
<ProductId href="https://www.mcssl.com/API/32012/Products/2730514">2730514</ProductId>
<Quantity>1</Quantity>
<Sku>2</Sku>
<IsRecurring>false</IsRecurring>
<ProductName>physical product 2</ProductName>
<UnitPrice>9.99</UnitPrice>
<ProductType>General</ProductType>
<IsTaxable>true</IsTaxable>
<IsCommissionable>false</IsCommissionable>
<SelectedOptions />
<ProductTaxes />
</LineItemInfo>
<LineItemInfo>
<Discounts />
<OrderId>173459429</OrderId>
<Id>173488509</Id>
<ProductId href="https://www.mcssl.com/API/32012/Products/2730514">2730514</ProductId>
<Quantity>1</Quantity>
<Sku>2</Sku>
<IsRecurring>false</IsRecurring>
<ProductName>physical product 2</ProductName>
<UnitPrice>9.99</UnitPrice>
<ProductType>General</ProductType>
<IsTaxable>true</IsTaxable>
<IsCommissionable>false</IsCommissionable>
<SelectedOptions />
<ProductTaxes />
</LineItemInfo>
</LineItems>
<OrderBundles />
<Discounts />
<ShippingTrackingMethods />
<ShippingTaxes />
</OrderInfo>
</Response>
The <Response> root element has a success attribute. This will be true or false. In the case of a false value you will get an Error element in the Response
Error Response
<Response success="false">
<Error code="2040">No data found</Error>
</Response>