XML Gateway API
If you have a business account you can place list and view your orders using our EDI XML service by sending a POST request to this address:
https://www.lambda-tek.com/cgi-bin/XMLOrderService.pl
The available services are:
ORDER CREATION
Create a new order. If successful it returns the XML structure of the order created
Click any element name in the request below for an explanation of its purpose, accepted values and the errors it can cause.
Request
<?xml version="1.0" encoding="UTF-8"?>
<CreateOrder>
<UserName>your
lambdatek login email</UserName>
<Password>your
lambdatek password</Password>
<Mode>set
to TEST or LIVE. in test mode order will NOT be created</Mode>
<OrderPlatform>LambdaTek
Shop - one of GB,FR,IT,DE,ES,GR,IE</OrderPlatform>
<PaymentMethod>one
of CARD,BACS,FUNDS,PAYPAL</PaymentMethod>
<CardName>last
four digits of card on file</CardName>
<VoucherUsed>voucher
used. Set to a value, or set to 'ALL' to use all available</VoucherUsed>
<CustomerName>Your
Name and Surname</CustomerName>
<MobileNumber>Your
Contact Number</MobileNumber>
<CustomerPORef>Your
Purchase Order Reference</CustomerPORef>
<LicenseAgreement>only
required for license renewals</LicenseAgreement>
<BillAddr1>Company
name or house number</BillAddr1>
<BillAddr2></BillAddr2>
<BillStreet>street
name and number</BillStreet>
<BillPostCode>postcode</BillPostCode>
<BillCity>city</BillCity>
<BillCounty>county
or region</BillCounty>
<BillCountry>Country
(2 letter ISO format)</BillCountry>
<BillTelephone>Telephone
number</BillTelephone>
<DelName>Recipient
Name and surname</DelName>
<DelEmail>Recipient
Email - only used for licenses</DelEmail>
<DelAddr1>Company
name or house number</DelAddr1>
<DelAddr2></DelAddr2>
<DelStreet>street
name and number</DelStreet>
<DelPostCode>postcode</DelPostCode>
<DelCity>city</DelCity>
<DelCounty>county
or region</DelCounty>
<DelCountry>Country
(2 letter ISO format)</DelCountry>
<DelTelephone>Telephone
number</DelTelephone>
<ShippingType>one
of STANDARD,COURIER,PRIORITY</ShippingType>
<ProductList>
<Product>
<QuickCode>quick
code</QuickCode>
<Quantity>number
ordered</Quantity>
</Product>
...
</ProductList>
</CreateOrder>
Response
<Order>
<OrderId>The
Order Id</OrderId>
<OrderStatus>Status
of the order</OrderStatus>
<OrderStatusDetail>an
explanation of the order status</OrderStatusDetail>
<CustomerPORef>Same
as the input</CustomerPORef>
<OrderPlatform>Platform
passsed in input on which the order was created</OrderPlatform>
<Currency>Currency
of the Order (will be the one associated with the order platform)</Currency>
<BillTelephone>Same
as the input</BillTelephone>
<BillAddress>Same
as the input</BillAddress>
<DelTelephone>Same
as the input</DelTelephone>
<DelAddress>Same
as the input</DelAddress>
<MobileNumber>Same
as the input</MobileNumber>
<LicenseAgreement>Same
as the input</LicenseAgreement>
<ProductList>
<Product>
<QuickCode>Same
as the input</QuickCode>
<Description>Description
of the item</Description>
<Quantity>Same
as the input</Quantity>
<ItemPrice>Price
ex. VAT of one item</ItemPrice>
<ItemTax>Vat
for one item</ItemTax>
<Warehouse>warehouse
sending the product</Warehouse>
<ProductStatus>
<Quantity>number
of products with this status</Quantity>
<Status>status
of product: one of PROCESSING,SHIPPED</Status>
<CourierName>Courier
Name (if 'Status' is SHIPPED)</CourierName>
<Tracking>tracking
number (if 'Status' is SHIPPED)</Tracking>
<TrackingURL>tracking
URL (if 'Status' is SHIPPED)</TrackingURL>
</ProductStatus>
...
</Product>
...
</ProductList>
<DelDescription>Delivery
description</DelDescription>
<DelPrice>Delivery
price ex. VAT</DelPrice>
<DelTax>Delivery
VAT</DelTax>
<VoucherExVat>Voucher
used ex. VAT</VoucherExVat>
<VoucherTax>Voucher
used VAT</VoucherTax>
<VoucherTot>Voucher
used inc. VAT</VoucherTot>
<DiscountExVat>Order
Discount ex. VAT</DiscountExVat>
<DiscountTax>Order
Discount VAT</DiscountTax>
<DiscountTot>Order
Discount Tot</DiscountTot>
<TotalExVat>Total
ex. VAT</TotalExVat>
<Vat>Total
VAT</Vat>
<GrandTotal>Total inc.
VAT</GrandTotal>
<PaymentList>
<Payment>
<PaymentAmount>Amount
Paid</PaymentAmount>
<PaymentComment>Payment
Description</PaymentComment>
</Payment>
...
</PaymentList>
<OrderNotes>Sales
conditions and warnings</OrderNotes>
<OrderHistory>Order
History</OrderHistory>
</Order>
RETRIEVE ORDER LIST
Retrieve the list of orders in your account. If successful it returns list of order numbers
Request
<?xml version="1.0" encoding="UTF-8"?>
<GetOrderList>
<UserName>your
lambdatek login email</UserName>
<Password>your
lambdatek password</Password>
</GetOrderList>
Response
<?xml version="1.0" encoding="UTF-8"?>
<OrderList>List
of orders (comma separated)</OrderList>
RETRIEVE AN ORDER
Retrieve a specific order. If successful it returns the XML structure of the order
Request
<?xml version="1.0" encoding="UTF-8"?>
<GetOrder>
<UserName>your
lambdatek login email</UserName>
<Password>your
lambdatek password</Password>
<OrderId>The
Order Id</OrderId>
</GetOrder>
Response
if successful, returns the same order structure as in ORDER CREATION above