Discussing APIs and development related to customers, discounts, and order management.
Hi,
I have noticed recently the order.xml file returns duplicates line item details. But in order.json its not .
Is anyone face the same issue? coz of this some of our the working code for our customers got affected.
Is there any changes happened in order.xml API?
in xml file,
<line-item>
<id type="integer">4121890127974</id>
<variant-id type="integer">1016575420</variant-id>
<title>SBD Wrist Wraps (Pair)</title>
<quantity type="integer">1</quantity>
<sku>SBDWFM</sku>
<variant-title>Medium 60cm / Flexible</variant-title>
<vendor>SBD</vendor>
----
<line-items type="array">
<line-item>
<id type="integer">4121890127974</id>
<variant-id type="integer">1016575420</variant-id>
<title>SBD Wrist Wraps (Pair)</title>
<quantity type="integer">1</quantity>
<sku>SBDWFM</sku>
<variant-title>Medium 60cm / Flexible</variant-title>
<vendor>SBD</vendor>
<fulfillment-service>manual</fulfillment-service>
<product-id type="integer">383106328</product-id>
Hey @developer11,
Thanks for bringing this up. Our developers are aware of the issue and are currently working on a fix. We're hoping to have the fix in place soon, I'll post back here as soon as I have an update for you.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hey @developer11,
I just wanted to let you know our developers have resolved the issue regarding duplicate line_item arrays in the order XML. You will now one see 1 line_item array as expected.
With regards to the TLS error, we'll need more information in order to investigate. Can you kindly let me know which shop you're seeing the error on, and provide an approximate timeframe from when you saw the error last? You can send me a PM with this information if you prefer.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hey @developer11,
Thanks for providing those examples. In those examples, can you confirm if the URL you were trying to hit was https://store.myshopify.com/admin/orders/###order_id###.json.
Also, can you provide any more details about the client you're using to make these calls (hosting provider, libraries being used, timeout settings, ip address)?
PM means private message 🙂
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog