... quick parsing instruction to get the eBay photos; this snippet stores the URL of each picture in a list variable:
l_Pictures = x_MainNode.executeXPath("//Item/PictureDetails/PictureURL/text()").toXmlList();
/ ...
What?
This is the function to get the line item order/transaction from eBay if you give it the eBay Item ID as a parameter.
Why?
Mostly for debugging but here's the code that will quickly get ...
...
I'm going to show you the code first of how to parse the eBay Transaction data and then the code to create a Shopify Order:
Parse an eBay Transaction Notification (XML)
x_ResponseBody = input.Payload.getJSON("body");
v_MainNodeName ...
... if successful then read the response
if(r_ResponseXML.contains("Success"))
{
//
// init
l_JSONItems = List();
//
// parse the data
v_MainNode = "ActiveList";
x_MainNode ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.