Coupon Feed
The coupon feed sends promotion codes to ROM.
Promotion codes are used in explicit promotions; that is, promotions that require the shopper to enter a specific code to receive a discount.
Using the information in the feed, ROM can create or delete promotion codes.
Notes:
Default Character Encoding: Unicode: UTF-8
Exchange Frequency: Client Specific
Production Mailbox Location: Client Specific
Test Mailbox Location: Client Specific
The filename combined with the mailbox allow Radial to determine the destination of the Facility Feed
FileName pattern: <ClientId>_<CatalogId>_ CouponCode_<YYYYMMDDHHMMSS>.xml
File Name Example: TMSNA_21_CouponCode_20160727111831.xml
Schema
Coupon feed schema: CouponCodeAssignment.xsd
Example
Copy
<?xml version="1.0" encoding="UTF-8"?>
<CouponCodeAssignment>
<MessageHeader>
<Standard>GSI</Standard>
<HeaderVersion>5.21</HeaderVersion>
<VersionReleaseNumber>5.21</VersionReleaseNumber>
<SourceData>
<SourceId>TMSNA</SourceId>
<SourceType>CLIENT</SourceType>
</SourceData>
<DestinationData>
<DestinationId>GSI</DestinationId>
<DestinationType>PH</DestinationType>
</DestinationData>
<EventType>CouponCode</EventType>
<MessageData>
<MessageId>2016060110000041</MessageId>
<CorrelationId>2016060110000041</CorrelationId>
</MessageData>
<CreateDateAndTime>2016-06-01T09:49:55Z</CreateDateAndTime>
</MessageHeader>
<CouponCodeGroup>
<store_id>SMTUS</store_id>
<client_id>SMTNA</client_id>
<catalog_id>25</catalog_id>
<CouponGroup>
<CouponCodeGroupID>TMS_US_CouponItemQty1</CouponCodeGroupID>
<CouponCodes>
<CouponCode operation = "Add">001</CouponCode>
<CouponCode operation = "Add">002</CouponCode>
<CouponCode operation = "Add">003</CouponCode>
<CouponCode operation = "Delete">004</CouponCode>
</CouponCodes>
</CouponGroup>
<CouponGroup>
<CouponCodeGroupID>TMS_US_CouponItemQty2</CouponCodeGroupID>
<CouponCodes>
<CouponCode operation = "Add">0011</CouponCode>
<CouponCode operation = "Add">0021</CouponCode>
<CouponCode operation = "Add">0031</CouponCode>
<CouponCode operation = "Delete">0041</CouponCode>
</CouponCodes>
</CouponGroup>
</CouponCodeGroup>
</CouponCodeAssignment>