Skip to content

Instantly share code, notes, and snippets.

@bekarice
Last active December 17, 2020 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bekarice/07b1526ddd1519db7698bcfc9e72ee55 to your computer and use it in GitHub Desktop.
Save bekarice/07b1526ddd1519db7698bcfc9e72ee55 to your computer and use it in GitHub Desktop.
WooCommerce Customer / Order XML Export: default format
<?xml version="1.0" encoding="UTF-8"?>
<Orders>
<Order>
<OrderId>188</OrderId>
<OrderNumber/>
<OrderNumberFormatted/>
<OrderDate>2016-09-15 03:17:47</OrderDate>
<OrderStatus>completed</OrderStatus>
<OrderCurrency>USD</OrderCurrency>
<BillingFirstName>Skyler</BillingFirstName>
<BillingLastName>White</BillingLastName>
<BillingFullName>Skyler White</BillingFullName>
<BillingCompany/>
<BillingAddress1>308 Negra Arroyo Lane</BillingAddress1>
<BillingAddress2/>
<BillingCity>Albuquerque</BillingCity>
<BillingState>NM</BillingState>
<BillingPostcode>87104</BillingPostcode>
<BillingCountry>US</BillingCountry>
<BillingEmail>skyler@mailinator.com</BillingEmail>
<BillingPhone>123986987</BillingPhone>
<ShippingFirstName>Skyler</ShippingFirstName>
<ShippingLastName>White</ShippingLastName>
<ShippingFullName>Skyler White</ShippingFullName>
<ShippingCompany/>
<ShippingAddress1>308 Negra Arroyo Lane</ShippingAddress1>
<ShippingAddress2/>
<ShippingCity>Albuquerque</ShippingCity>
<ShippingState>NM</ShippingState>
<ShippingPostcode>87104</ShippingPostcode>
<ShippingCountry>US</ShippingCountry>
<ShippingMethodId>flat_rate</ShippingMethodId>
<ShippingMethod>Flat Rate</ShippingMethod>
<PaymentMethodId>cheque</PaymentMethodId>
<PaymentMethod>Cheque Payment</PaymentMethod>
<DiscountTotal>0</DiscountTotal>
<ShippingTotal>3.99</ShippingTotal>
<ShippingTaxTotal>0</ShippingTaxTotal>
<OrderTotal>73.99</OrderTotal>
<FeeTotal>0</FeeTotal>
<FeeTaxTotal>0</FeeTaxTotal>
<TaxTotal>0</TaxTotal>
<RefundedTotal/>
<CompletedDate>2016-09-15 03:22:26</CompletedDate>
<CustomerNote/>
<CustomerId>6</CustomerId>
<OrderLineItems>
<OrderLineItem>
<Id>94</Id>
<Name>Patient Ninja</Name>
<ProductId>50</ProductId>
<SKU>patient-ninja</SKU>
<Quantity>1</Quantity>
<Price>35.00</Price>
<Subtotal>35.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>35.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta/>
<Taxes/>
</OrderLineItem>
<OrderLineItem>
<Id>95</Id>
<Name>Ninja Silhouette</Name>
<ProductId>56</ProductId>
<SKU>ninja-silhouette</SKU>
<Quantity>1</Quantity>
<Price>35.00</Price>
<Subtotal>35.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>35.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta>Size: Medium, Color: Black</Meta>
<Taxes/>
</OrderLineItem>
</OrderLineItems>
<OrderNotes>
<OrderNote>
<Date>2016-09-15 03:35:39</Date>
<Author>WooCommerce</Author>
<Content>
Order exported to XML and successfully uploaded to server.
</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:22:26</Date>
<Author>root</Author>
<Content>Order status changed from On Hold to Completed.</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:17:47</Date>
<Author>WooCommerce</Author>
<Content>
Awaiting cheque payment Order status changed from Pending Payment to On Hold.
</Content>
</OrderNote>
</OrderNotes>
<ShippingItems>
<ShippingItem>
<Id>96</Id>
<MethodId>flat_rate</MethodId>
<MethodName>Flat Rate</MethodName>
<Total>3.99</Total>
<Taxes/>
</ShippingItem>
</ShippingItems>
<FeeItems/>
<TaxItems/>
<CouponItems/>
<Refunds/>
<DownloadPermissionsGranted>1</DownloadPermissionsGranted>
</Order>
<Order>
<OrderId>187</OrderId>
<OrderNumber/>
<OrderNumberFormatted/>
<OrderDate>2016-09-15 03:16:28</OrderDate>
<OrderStatus>processing</OrderStatus>
<OrderCurrency>USD</OrderCurrency>
<BillingFirstName>Hank</BillingFirstName>
<BillingLastName>Schrader</BillingLastName>
<BillingFullName>Hank Schrader</BillingFullName>
<BillingCompany/>
<BillingAddress1>4309 Cumbre del Sol Ct NE</BillingAddress1>
<BillingAddress2/>
<BillingCity>Albuquerque</BillingCity>
<BillingState>NM</BillingState>
<BillingPostcode>87111</BillingPostcode>
<BillingCountry>US</BillingCountry>
<BillingEmail>schraderbrau@mailinator.com</BillingEmail>
<BillingPhone>5551236785</BillingPhone>
<ShippingFirstName>Hank</ShippingFirstName>
<ShippingLastName>Schrader</ShippingLastName>
<ShippingFullName>Hank Schrader</ShippingFullName>
<ShippingCompany/>
<ShippingAddress1>4309 Cumbre del Sol Ct NE</ShippingAddress1>
<ShippingAddress2/>
<ShippingCity>Albuquerque</ShippingCity>
<ShippingState>NM</ShippingState>
<ShippingPostcode>87111</ShippingPostcode>
<ShippingCountry>US</ShippingCountry>
<ShippingMethodId>flat_rate</ShippingMethodId>
<ShippingMethod>Flat Rate</ShippingMethod>
<PaymentMethodId>cheque</PaymentMethodId>
<PaymentMethod>Cheque Payment</PaymentMethod>
<DiscountTotal>0</DiscountTotal>
<ShippingTotal>3.99</ShippingTotal>
<ShippingTaxTotal>0</ShippingTaxTotal>
<OrderTotal>56.99</OrderTotal>
<FeeTotal>0</FeeTotal>
<FeeTaxTotal>0</FeeTaxTotal>
<TaxTotal>0</TaxTotal>
<RefundedTotal/>
<CompletedDate>2016-09-15 03:20:42</CompletedDate>
<CustomerNote/>
<CustomerId>5</CustomerId>
<OrderLineItems>
<OrderLineItem>
<Id>91</Id>
<Name>Happy Ninja</Name>
<ProductId>37</ProductId>
<SKU/>
<Quantity>1</Quantity>
<Price>18.00</Price>
<Subtotal>18.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>18.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta/>
<Taxes/>
</OrderLineItem>
<OrderLineItem>
<Id>92</Id>
<Name>Happy Ninja</Name>
<ProductId>53</ProductId>
<SKU>happy-ninja-2</SKU>
<Quantity>1</Quantity>
<Price>35.00</Price>
<Subtotal>35.00</Subtotal>
<SubtotalTax>0.00</SubtotalTax>
<Total>35.00</Total>
<TotalTax>0.00</TotalTax>
<Refunded>0.00</Refunded>
<RefundedQuantity>0</RefundedQuantity>
<Meta/>
<Taxes/>
</OrderLineItem>
</OrderLineItems>
<OrderNotes>
<OrderNote>
<Date>2016-09-15 03:35:39</Date>
<Author>WooCommerce</Author>
<Content>
Order exported to XML and successfully uploaded to server.
</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:20:42</Date>
<Author>root</Author>
<Content>Order status changed from On Hold to Processing.</Content>
</OrderNote>
<OrderNote>
<Date>2016-09-15 03:16:28</Date>
<Author>WooCommerce</Author>
<Content>
Awaiting cheque payment Order status changed from Pending Payment to On Hold.
</Content>
</OrderNote>
</OrderNotes>
<ShippingItems>
<ShippingItem>
<Id>93</Id>
<MethodId>flat_rate</MethodId>
<MethodName>Flat Rate</MethodName>
<Total>3.99</Total>
<Taxes/>
</ShippingItem>
</ShippingItems>
<FeeItems/>
<TaxItems/>
<CouponItems/>
<Refunds/>
<DownloadPermissionsGranted>1</DownloadPermissionsGranted>
</Order>
</Orders>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment