Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Merijn van Mourik 58 posts 128 karma points
    Oct 23, 2014 @ 10:12
    Merijn van Mourik
    0

    Serializing finalized order to XML

    Good morning,

    Is there a way to serialize a finalized order to an xml, so I can send it to the backoffice? In an older version it could be done with GetXElement().

    Thanks,

    Merijn

  • Merijn van Mourik 58 posts 128 karma points
    Oct 23, 2014 @ 10:31
    Merijn van Mourik
    0

    Small update. I found OrderService.Instance.GetAllFinalizedAsXml() giving me all orders, so I could extract the Xml from that. However it would be nice to get the Xml of a single order, I hope it's possible, saves some code :-)

  • Anders Burla 2560 posts 8256 karma points
    Oct 23, 2014 @ 10:32
    Anders Burla
    0

    In Tea Commerce 2+ you can use:

    using TeaCommerce.Api.Serialization
    order.ToXml()

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies