This is used to apply promotion to an online order.
This API has been deprecated in favor of our RESTful API: ~/api/Promotion/ApplySuggestedPromotion?onlineOrderId={onlineOrderId}&orderId={orderId}&promotionId={promotionId}&quantityEarned={quantityEarned}
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ApplyPromotion xmlns="http://www.securefreedom.com/">
<cred>
<Username>string</Username>
<Password>string</Password>
<Token>string</Token>
</cred>
<PromotionID>int</PromotionID>
<OnlineOrderNumber>int</OnlineOrderNumber>
<QuantityEarned>int</QuantityEarned>
<SKUs>
<PromotionAwardInventory>
<SKU>string</SKU>
<Quantity>int</Quantity>
</PromotionAwardInventory>
<PromotionAwardInventory>
<SKU>string</SKU>
<Quantity>int</Quantity>
</PromotionAwardInventory>
</SKUs>
</ApplyPromotion>
</soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ApplyPromotionResponse xmlns="http://www.securefreedom.com/">
<ApplyPromotionResult>
<RequestID>int</RequestID>
<Success>int</Success>
<Message>string</Message>
</ApplyPromotionResult>
</ApplyPromotionResponse>
</soap:Body>
</soap:Envelope>