brennan
6/23/2015 - 5:31 PM

Sample XML for Order Export

Sample XML for Order Export

<?xml version="1.0" encoding="UTF-8"?>
<orders>
  <orders_returned>1</orders_returned>
  <order>
    <date>06/11/2013</date>
    <id>1001</id>
    <batch_id>0</batch_id>
    <status>Pending</status>
    <customer_id>1</customer_id>
    <bill_fname>Test</bill_fname>
    <bill_lname>Order</bill_lname>
    <bill_addr1>5060 Shoreham Place</bill_addr1>
    <bill_addr2>Suite 130</bill_addr2>
    <bill_city>San Diego</bill_city>
    <bill_state>CA</bill_state>
    <bill_zip>92122</bill_zip>
    <bill_cntry>US</bill_cntry>
    <bill_phone>858-731-4114</bill_phone>
    <bill_email>mzimmermann@mivamerchant.com</bill_email>
    <ship_fname>Test</ship_fname>
    <ship_lname>Order</ship_lname>
    <ship_addr1>5060 Shoreham Place</ship_addr1>
    <ship_addr2>Suite 130</ship_addr2>
    <ship_city>San Diego</ship_city>
    <ship_state>CA</ship_state>
    <ship_zip>92122</ship_zip>
    <ship_cntry>US</ship_cntry>
    <ship_phone>858-731-4114</ship_phone>
    <ship_email>mzimmermann@mivamerchant.com</ship_email>
<items>
  <item>
    <line_id>19</line_id>
    <code>Depo-Medrol-Multi-Dose-Vials</code>
    <name><![CDATA[Depo-Medrol&amp;reg; Multi-Dose Vials]]></name>
    <quantity>1</quantity>
    <weight>0</weight>
    <price>0</price>
    <item_subtotal>$25.95</item_subtotal>
    <item_status>Pending</item_status>
    <options>
      <option>
        <option_code>small</option_code>
        <attribute_code>size</attribute_code>
        <option_subtotal>$0.00</option_subtotal>
      </option>
      <option>
        <option_code>red</option_code>
        <attribute_code>color</attribute_code>
        <option_subtotal>$0.00</option_subtotal>
      </option>
      </options>
    </item>
  </items>
<tax>0</tax>
<total>25.95</total>
<paymentinfo>
  <cc_card>Visa</cc_card>
  <cc_name>Test Order</cc_name>
  <cc_number>4111111111111111</cc_number>
  <cc_exp>8/2015</cc_exp>
</paymentinfo>
<shippinginfo>
  <method>Free Shipping</method>
  <ship_cost>0</ship_cost>
  </shippinginfo>
</order>
</orders>