Order Transitional Feed
Overview
The Transitional Order Feed receives historical order data for closed orders. Typically a client uses this feed as part of migrating to Radial Order Management from another order management platform.
For an overview of the data migration process, see Order Data Migration.
Order data comprises all data associated with a webstore order. Typically, transitional order data is limited to orders that customers have placed through the webstore. This data is used to populate customers' order history, and the historical orders can be made available to customer support systems.
Radial only receives the orders that are new to Radial Order Management and that are in a closed state in the transitional order data file.
Notes
- Default Format: XML
- Default Character Encoding: Unicode: UTF-8
- Recipient Acknowledgment Required: Yes
- Exchange Frequency: Client-specific. This data is typically transferred once just prior to the launch of the store on Radial Order Management. Additional order data can be transferred to Radial on an ongoing basis if it is necessary to update the initial set of data, or if needed for marketing.
- Production Mailbox Location: Client-specific
- Test Mailbox Location: Client-specific
Filename
The filename combined with the mailbox enables Radial middleware (the Order Data Hub) to determine the destination of the order data. The filename follows this pattern:
{client id}_{store id}_order-transitional_{date time stamp}.xml
- client id is the Radial-provided code that uniquely identifies a client.
- store id is the Radial-provided code that uniquely identifies a store.
- order-transitional is Radial-provided literal text that must follow store id.
- Date time stamp in YYYYMMDDHH24MISS format
- YYYY = Year with Century
- MM = Month of Year - number 01 -12, zero padded
- DD = Day of Month - number 01-31, zero padded
- HH24 = Hour of Day - number 00-23, zero padded
- MI = Minute of Hour - number 00-59, zero padded
- SS = Second of Minute - number 00-59, zero padded
- xml is the file extension that indicates the format of the file
Filename example: TMSNA_TMSUS_order-transitional_20180901062356.xml
Closed Orders Only
Radial receives only closed orders through this feed. A closed order is an order that:
- has been invoiced and fulfilled
- is not wholly or partly on a hold of any kind
- has had payment provided, the payment has been approved, the transaction has completed
- has been placed in state that denotes the full order has been ‘paid’.
- has been shipped from the fulfillment center and has been placed in state that denotes that the entire order has been ‘shipped’ and ‘fulfilled’.
Data Notes
A purchase order or sales order chained with purchase is not in scope. If this is required for your store's order data, talk to your Radial representative.
A return order is a separate transaction order with its own unique Order ID that should not be same as any other order (sales or return). We can allow migrating return orders into system after sales order. A return order should reference the sales order as indicated in this specification.
The Order ID in submitted order data must be a unique value for each customer sales order.
Orders placed by guest customers can be migrated as long as the order data is sent with all the required fields.
If other additional fields are needed, talk to your Radial representative.
Data Security
To secure data at the file level, SFTP is the preferred protocol for delivery of transitional order data files. All transitional order data files will be delivered to a pre-defined, client-specific mailbox. Radial will provide the location of the mailbox.
Best Practices
To ensure that your order data is loaded into Radial Order Management efficiently and accurately, follow the Data Migration Best Practices.
Schemas
API Structure
Transitional Order element tables:
Examples
The following example files can be used as a reference for preparing your own order data.
- XML_DYO_Customization.xml
- XML_Exchange.xml
- XML_FullReturn.xml
- XML_FullyCancelled.xml
- XML_MultipleStatus.xml
- XML_MultipleTransactions.xml
- XML_PartialCancel.xml
- XML_PartialReturn.xml
- XML_PriceAdjustment.xml
- XML_Reship.xml
- XML_SingleOrder_MultiShip.xml
- XML_SingleOrder_SingleShip.xml
- XML_VGCPurchase.xml
When working with the example scenarios, refer to the following tables of key data values.
Attributes Required |
Value |
---|---|
OrderCategory |
0003 |
ExtnReferenceOrderNo |
Return Order Number -- If there is no specific return order number, then the original Customer Sales Order Number is used. |
ExtnWebstoreOrderNo |
Customer Sales Urder Number for sales order and return orders that have no Return Order Number |
InvoicedChargeAmount |
Required for return orders |
Status |
3950.01 - Return Invoiced |
Attributes Required |
Value |
---|---|
OrderCategory |
0001 |
ExtnReferenceOrderNo |
Sales Order Number created for exchange |
ExtnWebstoreOrderNo |
Exchange -- the new sales order that is created |
ExtnReturnOrderNo |
Required for each Exchange Orders. Its value should be equal to Return Order Number |
ExchangeType |
REGULAR |
Status |
3700.0007 - Fulfilled and invoiced |
Attributes Required |
Value |
---|---|
<LineCharge> & <LineTax> element |
Value depends on the allocation given against. For example:Price allocation--> PriceAdjustment,Shipping discount --> ShippingCredit |
IsBillable |
Y |
isDiscount |
Y |
Status |
3700.0007 - Fulfilled and invoiced |
Attributes Required |
Value |
---|---|
ReshipParentLineKey |
For example: ReshipParentLineKey :001-001-70000002 This is derived from parent line line details. |
<Order Line> |
New Orderline is created in the same order with same item details except all the pricing components are set to zero. |
Status |
3700.0007 - Fulfilled and invoiced |
Attributes Required |
Value |
---|---|
LineCharge\@InvoicedChargeAmount |
0.0 |
LineCharge\@InvoicedChargePerLine |
0.0 |
LineCharge\@InvoicedChargePerUnit |
0.0 |
LineCharge\@ChargePerLine |
0.0 |
LineCharge\@ChargePerUnit |
0.0 |
LineCharge\@ChargeAmount |
0.0 |
LinePriceInfo\@ActualPricingQty |
0.0 |
LinePriceInfo\@InvoicedLineTotal |
0.0 |
LinePriceInfo\@InvoicedPricingQty |
0.0 |
LinePriceInfo\@LineTotal |
0.0 |
LinePriceInfo\@Tax |
0.0 |
Status |
9000 |
Data Keys
Xpath: Order\@OrderCategory
Order Category |
Description |
---|---|
0001 |
Sales Order Document |
0003 |
Return Order Document |
Xpath: Order\@ExchangeType
Exchange Type |
Description |
---|---|
REGULAR |
A regular exchange (the returned item is received before shipping the replacement item) |
ADVANCED |
|
ADVANCED_PP |
Xpath:
- Shipment\Instructions\Instruction\@InstructionType
- Order\OrderLines\OrderLine\Instructions\Instruction\@InstructionType
Instruction Type |
Description |
---|---|
DELIVERY |
Instruction relating to the delivery of the order. |
DST_GIFT |
Instruction relating to destination-level gifting. |
DST_PACK |
Instruction relating to destination-level packing. |
GIFT |
Instruction related to gifting. |
PACK |
Instruction related to packing. |
SHPGRPNAME |
Ship group name. |
SHPGRPTYPE |
Ship group type. |
Xpath:
- Order\HeaderCharges\HeaderCharge\@ChargeCategory
- Order\HeaderTaxes\HeaderTax\@ChargeCategory
- Order\OrderLines\OrderLine\LineCharges\LineCharge\@ChargeCategory
- Order\OrderLines\OrderLine\LineTaxes\LineTax\@ChargeCategory
Charge Category |
Description |
---|---|
GiftWrap |
A Gift Wrap charge |
PriceAdjustment |
A Price Adjustment charge |
ShippingCredit |
A Shipping Credit |
GiftWrapCredit |
A Gift Wrap Credit |
Customization |
A Customization charge |
HandlingCredit |
A Handling Credit |
CustomizationCredit |
A Customization Credit |
MerchandiseDiscount |
A Merchandise Discount |
ShippingDiscount |
A Shipping Discount |
Fees |
A generic Fee charge |
InventorySetCharge |
An Inventory Set charge |
TaxCredit |
A Tax Credit |
Duty |
A Duty charge |
FeesCredit |
A Fee Credit |
CheckPaymentDiscount |
A Check Payment Discount |
DutyCredit |
A Duty Credit |
Shipping |
A Shipping charge |
Handling |
A Handling charge |
Discount |
A generic Discount |
CODSurcharge |
A COD Surcharge |
CVSSurcharge |
A CVS Surcharge |
GiftWrapDiscount |
A Gift Wrap Discount |
Price |
A generic Price charge |
Xpath: Order\OrderLines\OrderLine\@ReturnReason
Return Reason |
Description |
---|---|
10 |
Wrong color |
11 |
Wrong size |
12 |
Wrong item |
AH |
Invalid shipping address |
AM |
Warehouse postal code error |
AW |
American Express fraud |
CB |
Customer requested – Pre-sell |
CCE |
Cancelled - Customer error |
CCM |
Cancelled - Customer changed mind |
CDE |
Cancelled - Data entry error |
CL |
Cancelled - Shipment late |
CMN |
Cancelled - Modified name or address |
CNC |
Cancelled - Customer requested |
COL |
Cancelled - Order late |
COT |
Cancelled – Other |
CP |
Customer request |
CR |
Customer request - Order replaced |
CSU |
Cancelled – Substitution |
DC |
Damaged when customizing |
DI |
Insufficient credit |
DT |
Cancel after date |
DW |
Wireless plan credit decline |
DX |
Other credit decline |
EC |
Expired promotional code |
EX |
Expired product |
FB |
Invalid billing address |
FC |
FTC cancellation |
FF |
Lost or stolen card |
FI |
International billing address |
FS |
Suspected fraud |
F1 |
Finance cancel – Denied PO |
F2 |
Finance cancel – Wait greater than 10 days |
GW |
Gift wrap cancel |
IC |
Inappropriate customization |
ID |
Inventory discrepancy |
IM |
Shipping mode mismatch |
IN |
Too many letters in name |
IO |
Out of stock |
IP |
Incorrect product |
IR |
Warehouse cancel - Unspecified |
IS |
Inactive SKU |
IV |
Vendor cancel |
ND |
Duplicate |
PC |
Pickup cancel (In-store pickup) |
PE |
Promotional error |
RV |
RTV cancellation |
SC |
Size/color issue |
SD |
Backordered |
SE |
Setup error |
SSC |
Cancelled – customer initiated |
SSR |
In-store pickup return |
TC |
Timing (Out of stock) |
TQ |
Timing – QVC default (Out of stock) |
VC |
Variance cancel |
WA |
Wrong address |
XC |
Customer cancellation |
XF |
Cancellation due to fraud |
XG |
Google cancelled order |
XU |
Fraud analyst initiated cancellation |
YC |
Order clean-up |
YD |
Duplicate order |
YT |
Test order |
YY |
GBuy settlement 29 day limit |
ZC |
Zero cost shipment cancellation |
ZZ |
PayPal settlement 29 day limit |
Z1 |
PayPal settlement 60 day limit |
Z2 |
Failed PayPal authorization |
Payment Type Xpath: Order\PaymentMethods\PaymentMethod\@PaymentType
Credit Card Type Xpath: Order\PaymentMethods\PaymentMethod\@CreditCardType
PaymentReference / PaymentType |
TenderType / CreditCardType |
|
---|---|---|
Physical Gift Card |
GC |
FT |
Paypal |
PAYPAL |
PY |
Credit Cards |
CC |
VC (Visa), |
MC (MasterCard), |
||
DC (Discover), |
||
AM (American Express) |
Xpath: Order\OrderLines\OrderLine\@FulfillmentType
Fulfillment Type |
Description |
---|---|
SHIP_TO_HOME |
Ship-To-Home fulfillment |
SHIP_FROM_STORE |
Ship-To-Store fulfillment |
Xpath: Shipment\@ShipNode
ShipNode |
Description |
---|---|
DM_NA-DC001 |
DMUS Warehouse Location |
DM_NA-DC002 |
DMCA Warehouse Location |
Xpath: Order\OrderLines\OrderLine\@KitCode
Kit Code |
Description |
---|---|
LK |
Logical Kit |
PK |
Physical Kit |
DPK |
Dynamic Physical Kit |
BUNDLE |
Bundle Item |
Xpath:
- Shipment\@DeliveryType
- Order\OrderLines\OrderLine\@DeliveryType
Carrier Service Code |
Description |
---|---|
STD |
Standard Ground (3-7 days) |
SAKHI |
Standard Ground (7-15 days) |
2DAY |
Second Day |
1DAY |
Overnight |
PO |
US Postal Service (7-15 days) |
USPS |
US Postal Service (3-7 days) |
Xpath:
- Order\OrderLines\OrderLine\@DeliveryCarrierCode
- Shipment\@DeliveryCarrierCode
SCAC |
Description |
---|---|
USPS |
US Postal Service |
GC |
GiftCard |
ANY |
All other SCACs |
Xpath: Order\OrderLines\OrderLine\OrderStatuses\OrderStatus\@Status
Sales Order Status
Status Code |
Status Description |
Business Scenario |
---|---|---|
3700.0007 |
Fulfilled and Invoiced |
When the Order is Shipped and Invoice is generate. The Order moves to this status |
9000 |
Cancelled |
This indicates that the order has been canceled. the Cancel modification on the order entity is always defined to be between the statuses 1000 (Draft Order Created) and 3350 (Included In Shipment). |
Return Order Status
Status Code |
Status Description |
Business Scenario |
---|---|---|
3950.01 |
Return Invoiced |
An invoice has been created for the return. |
Xpath: Order\OrderLineRelationships\OrderLineRelationship\@RelationshipType
RelationshipType |
Description |
---|---|
ACCESSORY |
Item is an accessory |
CUSTOM |
|
MUPPET |
|
SHIPTOGETHER |
Items are shipped together |
SIM |
Item is a SIM card |
WARRANTY |
Item is a warranty |
INSTALL |
Item is installation |
ISO Standards
Currency Xpath:
- Order\PriceInfo\@Currency
- Shipment\@Currency
Currency: http://www.wipo.int/wipostad/en/standards/isocurrencycodetype-v2001-1-en/1-0/xsd
Country Xpath:
- Order\PersonInfoBillTo\@Country
- Order\PersonInfoShipTo\@Country
- Order\OrderLines\OrderLine\PersonInfoShipTo\@Country
- Shipment\ToAddress\@Country
- Shipment\FromAddress\@Country
Country: http://www.wipo.int/standards/XMLSchema/trademarks/romarin/romarin_st66_doc/index_ISOCountryCodeType.html
Locale / Language: Locale code standards (the lower-case, two-letter language code, followed by an underscore, followed by the upper-case, two-letter territory code – i.e. fr_CA
http://www.wipo.int/standards/XMLSchema/trademarks/romarin/romarin_st66_doc/index_ISOLanguageCodeType.html
Other Standards
US State Codes: US state code standards: http://www.usps.com/ncsc/lookups/usps_abbreviations.html
Canadian Province and Territory Codes: Canadian province and territory code standards: http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp#1380608
AVS Codes: Address Verification Response code standards: http://www.goemerchant.com/wiki/AVS%20and%20CVV2.ashx